HSL(275, 60%, 18%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,60%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 60%, 18%) | color: hsl(275, 60%, 18%) | |
| HEX | #321249 | color: #321249 | |
| RGB | rgb(50, 18, 73) | color: rgb(50, 18, 73) | |
| CMYK | cmyk(32%, 75%, 0%, 71%) | — | |
| HSV | hsv(275, 75%, 29%) | — | |
| HWB | hwb(275 7% 71%) | color: hwb(275 7% 71%) | |
| OKLCH | oklch(0.2636 0.0991 307.61) | color: oklch(0.2636 0.0991 307.61) | |
| Lab | lab(13.18 27.42 -27.72) | color: lab(13.18 27.42 -27.72) | |
| LCH | lch(13.18 38.99 314.69) | color: lch(13.18 38.99 314.69) |
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)
#24243C — rgb(36, 36, 60)
Deuteranopia (Green-blind)
#262839 — rgb(38, 40, 57)
Tritanopia (Blue-blind)
#30312F — rgb(48, 49, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 60%, 18%);
text
color: hsl(275, 60%, 18%);
border
border: 2px solid hsl(275, 60%, 18%);
gradient light
background: linear-gradient(to right, hsl(275, 60%, 38%), hsl(275, 60%, 18%));
gradient dark
background: linear-gradient(to right, hsl(275, 60%, 18%), hsl(275, 60%, 0%))
hex
background-color: #321249;
tailwind
bg-[hsl(275,60%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 60%, 18%, 0.4);
css variable
--color-primary: hsl(275, 60%, 18%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 60%, 18%)?
HEX: #321249 | RGB: rgb(50, 18, 73) | CMYK: 32%, 75%, 0%, 71% | HSV: 275°, 75%, 29%. Copy any format from the conversion table above.
What colors go well with #321249?
The complementary color is HSL(95, 60%, 18%). 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, 60%, 18%) in CSS?
As HSL: color: hsl(275, 60%, 18%); — As HEX: color: #321249; — As RGB: color: rgb(50, 18, 73); — Tailwind CSS: bg-[hsl(275,60%,18%)] — CSS variable: --color-primary: hsl(275, 60%, 18%);