HSL(267, 55%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,55%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 55%, 24%) | color: hsl(267, 55%, 24%) | |
| HEX | #3A1C5F | color: #3A1C5F | |
| RGB | rgb(58, 28, 95) | color: rgb(58, 28, 95) | |
| CMYK | cmyk(39%, 71%, 0%, 63%) | — | |
| HSV | hsv(267, 71%, 37%) | — | |
| HWB | hwb(267 11% 63%) | color: hwb(267 11% 63%) | |
| OKLCH | oklch(0.3076 0.1138 300.34) | color: oklch(0.3076 0.1138 300.34) | |
| Lab | lab(18.17 29.83 -34.5) | color: lab(18.17 29.83 -34.5) | |
| LCH | lch(18.17 45.61 310.85) | color: lch(18.17 45.61 310.85) |
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)
#2D2D4F — rgb(45, 45, 79)
Deuteranopia (Green-blind)
#2F314B — rgb(47, 49, 75)
Tritanopia (Blue-blind)
#39423F — rgb(57, 66, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 55%, 24%);
text
color: hsl(267, 55%, 24%);
border
border: 2px solid hsl(267, 55%, 24%);
gradient light
background: linear-gradient(to right, hsl(267, 55%, 44%), hsl(267, 55%, 24%));
gradient dark
background: linear-gradient(to right, hsl(267, 55%, 24%), hsl(267, 55%, 4%))
hex
background-color: #3A1C5F;
tailwind
bg-[hsl(267,55%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 55%, 24%, 0.4);
css variable
--color-primary: hsl(267, 55%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 55%, 24%)?
HEX: #3A1C5F | RGB: rgb(58, 28, 95) | CMYK: 39%, 71%, 0%, 63% | HSV: 267°, 71%, 37%. Copy any format from the conversion table above.
What colors go well with #3A1C5F?
The complementary color is HSL(87, 55%, 24%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 55%, 24%) in CSS?
As HSL: color: hsl(267, 55%, 24%); — As HEX: color: #3A1C5F; — As RGB: color: rgb(58, 28, 95); — Tailwind CSS: bg-[hsl(267,55%,24%)] — CSS variable: --color-primary: hsl(267, 55%, 24%);