HSL(267, 69%, 39%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,69%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 69%, 39%) | color: hsl(267, 69%, 39%) | |
| HEX | #5D1FA8 | color: #5D1FA8 | |
| RGB | rgb(93, 31, 168) | color: rgb(93, 31, 168) | |
| CMYK | cmyk(45%, 82%, 0%, 34%) | — | |
| HSV | hsv(267, 82%, 66%) | — | |
| HWB | hwb(267 12% 34%) | color: hwb(267 12% 34%) | |
| OKLCH | oklch(0.4193 0.198 297.25) | color: oklch(0.4193 0.198 297.25) | |
| Lab | lab(29.75 54.13 -61.42) | color: lab(29.75 54.13 -61.42) | |
| LCH | lch(29.75 81.87 311.39) | color: lch(29.75 81.87 311.39) |
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)
#424287 — rgb(66, 66, 135)
Deuteranopia (Green-blind)
#464A7F — rgb(70, 74, 127)
Tritanopia (Blue-blind)
#5A6D67 — rgb(90, 109, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 69%, 39%);
text
color: hsl(267, 69%, 39%);
border
border: 2px solid hsl(267, 69%, 39%);
gradient light
background: linear-gradient(to right, hsl(267, 69%, 59%), hsl(267, 69%, 39%));
gradient dark
background: linear-gradient(to right, hsl(267, 69%, 39%), hsl(267, 69%, 19%))
hex
background-color: #5D1FA8;
tailwind
bg-[hsl(267,69%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 69%, 39%, 0.4);
css variable
--color-primary: hsl(267, 69%, 39%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 69%, 39%)?
HEX: #5D1FA8 | RGB: rgb(93, 31, 168) | CMYK: 45%, 82%, 0%, 34% | HSV: 267°, 82%, 66%. Copy any format from the conversion table above.
What colors go well with #5D1FA8?
The complementary color is HSL(87, 69%, 39%). 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, 69%, 39%) in CSS?
As HSL: color: hsl(267, 69%, 39%); — As HEX: color: #5D1FA8; — As RGB: color: rgb(93, 31, 168); — Tailwind CSS: bg-[hsl(267,69%,39%)] — CSS variable: --color-primary: hsl(267, 69%, 39%);