HSL(258, 77%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,77%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 77%, 35%) | color: hsl(258, 77%, 35%) | |
| HEX | #3E159E | color: #3E159E | |
| RGB | rgb(62, 21, 158) | color: rgb(62, 21, 158) | |
| CMYK | cmyk(61%, 87%, 0%, 38%) | — | |
| HSV | hsv(258, 87%, 62%) | — | |
| HWB | hwb(258 8% 38%) | color: hwb(258 8% 38%) | |
| OKLCH | oklch(0.3667 0.195 285.08) | color: oklch(0.3667 0.195 285.08) | |
| Lab | lab(23.77 51.53 -65.34) | color: lab(23.77 51.53 -65.34) | |
| LCH | lch(23.77 83.21 308.26) | color: lch(23.77 83.21 308.26) |
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)
#2C2C7D — rgb(44, 44, 125)
Deuteranopia (Green-blind)
#2F3275 — rgb(47, 50, 117)
Tritanopia (Blue-blind)
#3C635D — rgb(60, 99, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 77%, 35%);
text
color: hsl(258, 77%, 35%);
border
border: 2px solid hsl(258, 77%, 35%);
gradient light
background: linear-gradient(to right, hsl(258, 77%, 55%), hsl(258, 77%, 35%));
gradient dark
background: linear-gradient(to right, hsl(258, 77%, 35%), hsl(258, 77%, 15%))
hex
background-color: #3E159E;
tailwind
bg-[hsl(258,77%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 77%, 35%, 0.4);
css variable
--color-primary: hsl(258, 77%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 77%, 35%)?
HEX: #3E159E | RGB: rgb(62, 21, 158) | CMYK: 61%, 87%, 0%, 38% | HSV: 258°, 87%, 62%. Copy any format from the conversion table above.
What colors go well with #3E159E?
The complementary color is HSL(78, 77%, 35%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 77%, 35%) in CSS?
As HSL: color: hsl(258, 77%, 35%); — As HEX: color: #3E159E; — As RGB: color: rgb(62, 21, 158); — Tailwind CSS: bg-[hsl(258,77%,35%)] — CSS variable: --color-primary: hsl(258, 77%, 35%);