HSL(282, 20%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,20%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 20%, 35%) | color: hsl(282, 20%, 35%) | |
| HEX | #60476B | color: #60476B | |
| RGB | rgb(96, 71, 107) | color: rgb(96, 71, 107) | |
| CMYK | cmyk(10%, 34%, 0%, 58%) | — | |
| HSV | hsv(282, 34%, 42%) | — | |
| HWB | hwb(282 28% 58%) | color: hwb(282 28% 58%) | |
| OKLCH | oklch(0.439 0.0653 315.24) | color: oklch(0.439 0.0653 315.24) | |
| Lab | lab(34.1 17.97 -16.8) | color: lab(34.1 17.97 -16.8) | |
| LCH | lch(34.1 24.6 316.93) | color: lch(34.1 24.6 316.93) |
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)
#555562 — rgb(85, 85, 98)
Deuteranopia (Green-blind)
#575960 — rgb(87, 89, 96)
Tritanopia (Blue-blind)
#5F5B5A — rgb(95, 91, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 20%, 35%);
text
color: hsl(282, 20%, 35%);
border
border: 2px solid hsl(282, 20%, 35%);
gradient light
background: linear-gradient(to right, hsl(282, 20%, 55%), hsl(282, 20%, 35%));
gradient dark
background: linear-gradient(to right, hsl(282, 20%, 35%), hsl(282, 20%, 15%))
hex
background-color: #60476B;
tailwind
bg-[hsl(282,20%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 20%, 35%, 0.4);
css variable
--color-primary: hsl(282, 20%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 20%, 35%)?
HEX: #60476B | RGB: rgb(96, 71, 107) | CMYK: 10%, 34%, 0%, 58% | HSV: 282°, 34%, 42%. Copy any format from the conversion table above.
What colors go well with #60476B?
The complementary color is HSL(102, 20%, 35%). 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, 20%, 35%) in CSS?
As HSL: color: hsl(282, 20%, 35%); — As HEX: color: #60476B; — As RGB: color: rgb(96, 71, 107); — Tailwind CSS: bg-[hsl(282,20%,35%)] — CSS variable: --color-primary: hsl(282, 20%, 35%);