HSL(275, 92%, 17%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,92%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 92%, 17%) | color: hsl(275, 92%, 17%) | |
| HEX | #320353 | color: #320353 | |
| RGB | rgb(50, 3, 83) | color: rgb(50, 3, 83) | |
| CMYK | cmyk(40%, 96%, 0%, 67%) | — | |
| HSV | hsv(275, 96%, 33%) | — | |
| HWB | hwb(275 1% 67%) | color: hwb(275 1% 67%) | |
| OKLCH | oklch(0.2564 0.1282 304.62) | color: oklch(0.2564 0.1282 304.62) | |
| Lab | lab(11.74 36.82 -36.95) | color: lab(11.74 36.82 -36.95) | |
| LCH | lch(11.74 52.16 314.9) | color: lch(11.74 52.16 314.9) |
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)
#1E1D40 — rgb(30, 29, 64)
Deuteranopia (Green-blind)
#20243B — rgb(32, 36, 59)
Tritanopia (Blue-blind)
#30302D — rgb(48, 48, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 92%, 17%);
text
color: hsl(275, 92%, 17%);
border
border: 2px solid hsl(275, 92%, 17%);
gradient light
background: linear-gradient(to right, hsl(275, 92%, 37%), hsl(275, 92%, 17%));
gradient dark
background: linear-gradient(to right, hsl(275, 92%, 17%), hsl(275, 92%, 0%))
hex
background-color: #320353;
tailwind
bg-[hsl(275,92%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 92%, 17%, 0.4);
css variable
--color-primary: hsl(275, 92%, 17%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 92%, 17%)?
HEX: #320353 | RGB: rgb(50, 3, 83) | CMYK: 40%, 96%, 0%, 67% | HSV: 275°, 96%, 33%. Copy any format from the conversion table above.
What colors go well with #320353?
The complementary color is HSL(95, 92%, 17%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 92%, 17%) in CSS?
As HSL: color: hsl(275, 92%, 17%); — As HEX: color: #320353; — As RGB: color: rgb(50, 3, 83); — Tailwind CSS: bg-[hsl(275,92%,17%)] — CSS variable: --color-primary: hsl(275, 92%, 17%);