HSL(274, 70%, 37%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,70%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 70%, 37%) | color: hsl(274, 70%, 37%) | |
| HEX | #671CA0 | color: #671CA0 | |
| RGB | rgb(103, 28, 160) | color: rgb(103, 28, 160) | |
| CMYK | cmyk(36%, 83%, 0%, 37%) | — | |
| HSV | hsv(274, 83%, 63%) | — | |
| HWB | hwb(274 11% 37%) | color: hwb(274 11% 37%) | |
| OKLCH | oklch(0.422 0.1943 304.63) | color: oklch(0.422 0.1943 304.63) | |
| Lab | lab(30.04 54.82 -56.05) | color: lab(30.04 54.82 -56.05) | |
| LCH | lch(30.04 78.4 314.36) | color: lch(30.04 78.4 314.36) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#474680 — rgb(71, 70, 128)
Deuteranopia (Green-blind)
#4B5178 — rgb(75, 81, 120)
Tritanopia (Blue-blind)
#636761 — rgb(99, 103, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 70%, 37%);
text
color: hsl(274, 70%, 37%);
border
border: 2px solid hsl(274, 70%, 37%);
gradient light
background: linear-gradient(to right, hsl(274, 70%, 57%), hsl(274, 70%, 37%));
gradient dark
background: linear-gradient(to right, hsl(274, 70%, 37%), hsl(274, 70%, 17%))
hex
background-color: #671CA0;
tailwind
bg-[hsl(274,70%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 70%, 37%, 0.4);
css variable
--color-primary: hsl(274, 70%, 37%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 70%, 37%)?
HEX: #671CA0 | RGB: rgb(103, 28, 160) | CMYK: 36%, 83%, 0%, 37% | HSV: 274°, 83%, 63%. Copy any format from the conversion table above.
What colors go well with #671CA0?
The complementary color is HSL(94, 70%, 37%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 70%, 37%) in CSS?
As HSL: color: hsl(274, 70%, 37%); — As HEX: color: #671CA0; — As RGB: color: rgb(103, 28, 160); — Tailwind CSS: bg-[hsl(274,70%,37%)] — CSS variable: --color-primary: hsl(274, 70%, 37%);