HSL(284, 60%, 48%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(284,60%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(284, 60%, 48%) | color: hsl(284, 60%, 48%) | |
| HEX | #9D31C4 | color: #9D31C4 | |
| RGB | rgb(157, 49, 196) | color: rgb(157, 49, 196) | |
| CMYK | cmyk(20%, 75%, 0%, 23%) | — | |
| HSV | hsv(284, 75%, 77%) | — | |
| HWB | hwb(284 19% 23%) | color: hwb(284 19% 23%) | |
| OKLCH | oklch(0.5399 0.2224 315.19) | color: oklch(0.5399 0.2224 315.19) | |
| Lab | lab(43.29 64.66 -55.58) | color: lab(43.29 64.66 -55.58) | |
| LCH | lch(43.29 85.26 319.32) | color: lch(43.29 85.26 319.32) |
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)
#6E6DA0 — rgb(110, 109, 160)
Deuteranopia (Green-blind)
#757D98 — rgb(117, 125, 152)
Tritanopia (Blue-blind)
#98847E — rgb(152, 132, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(284, 60%, 48%);
text
color: hsl(284, 60%, 48%);
border
border: 2px solid hsl(284, 60%, 48%);
gradient light
background: linear-gradient(to right, hsl(284, 60%, 68%), hsl(284, 60%, 48%));
gradient dark
background: linear-gradient(to right, hsl(284, 60%, 48%), hsl(284, 60%, 28%))
hex
background-color: #9D31C4;
tailwind
bg-[hsl(284,60%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(284, 60%, 48%, 0.4);
css variable
--color-primary: hsl(284, 60%, 48%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(284, 60%, 48%)?
HEX: #9D31C4 | RGB: rgb(157, 49, 196) | CMYK: 20%, 75%, 0%, 23% | HSV: 284°, 75%, 77%. Copy any format from the conversion table above.
What colors go well with #9D31C4?
The complementary color is HSL(104, 60%, 48%). For a triadic harmony, use hues 284°, 44°, and 164°. For analogous combinations, try hues 254° and 314°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(284, 60%, 48%) in CSS?
As HSL: color: hsl(284, 60%, 48%); — As HEX: color: #9D31C4; — As RGB: color: rgb(157, 49, 196); — Tailwind CSS: bg-[hsl(284,60%,48%)] — CSS variable: --color-primary: hsl(284, 60%, 48%);