HSL(282, 74%, 47%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,74%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 74%, 47%) | color: hsl(282, 74%, 47%) | |
| HEX | #9B1FD1 | color: #9B1FD1 | |
| RGB | rgb(155, 31, 209) | color: rgb(155, 31, 209) | |
| CMYK | cmyk(26%, 85%, 0%, 18%) | — | |
| HSV | hsv(282, 85%, 82%) | — | |
| HWB | hwb(282 12% 18%) | color: hwb(282 12% 18%) | |
| OKLCH | oklch(0.5338 0.2481 311.92) | color: oklch(0.5338 0.2481 311.92) | |
| Lab | lab(42.08 72.19 -65.08) | color: lab(42.08 72.19 -65.08) | |
| LCH | lch(42.08 97.19 317.97) | color: lch(42.08 97.19 317.97) |
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)
#6564A6 — rgb(101, 100, 166)
Deuteranopia (Green-blind)
#6D769C — rgb(109, 118, 156)
Tritanopia (Blue-blind)
#95847C — rgb(149, 132, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 74%, 47%);
text
color: hsl(282, 74%, 47%);
border
border: 2px solid hsl(282, 74%, 47%);
gradient light
background: linear-gradient(to right, hsl(282, 74%, 67%), hsl(282, 74%, 47%));
gradient dark
background: linear-gradient(to right, hsl(282, 74%, 47%), hsl(282, 74%, 27%))
hex
background-color: #9B1FD1;
tailwind
bg-[hsl(282,74%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 74%, 47%, 0.4);
css variable
--color-primary: hsl(282, 74%, 47%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 74%, 47%)?
HEX: #9B1FD1 | RGB: rgb(155, 31, 209) | CMYK: 26%, 85%, 0%, 18% | HSV: 282°, 85%, 82%. Copy any format from the conversion table above.
What colors go well with #9B1FD1?
The complementary color is HSL(102, 74%, 47%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 74%, 47%) in CSS?
As HSL: color: hsl(282, 74%, 47%); — As HEX: color: #9B1FD1; — As RGB: color: rgb(155, 31, 209); — Tailwind CSS: bg-[hsl(282,74%,47%)] — CSS variable: --color-primary: hsl(282, 74%, 47%);