HSL(275, 30%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(275,30%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 30%, 34%) | color: hsl(275, 30%, 34%) | |
| HEX | #5B3D71 | color: #5B3D71 | |
| RGB | rgb(91, 61, 113) | color: rgb(91, 61, 113) | |
| CMYK | cmyk(19%, 46%, 0%, 56%) | — | |
| HSV | hsv(275, 46%, 44%) | — | |
| HWB | hwb(275 24% 56%) | color: hwb(275 24% 56%) | |
| OKLCH | oklch(0.417 0.0904 309.56) | color: oklch(0.417 0.0904 309.56) | |
| Lab | lab(31.24 23.96 -25.07) | color: lab(31.24 23.96 -25.07) | |
| LCH | lch(31.24 34.68 313.7) | color: lch(31.24 34.68 313.7) |
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)
#4E4E64 — rgb(78, 78, 100)
Deuteranopia (Green-blind)
#505261 — rgb(80, 82, 97)
Tritanopia (Blue-blind)
#5A5A58 — rgb(90, 90, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 30%, 34%);
text
color: hsl(275, 30%, 34%);
border
border: 2px solid hsl(275, 30%, 34%);
gradient light
background: linear-gradient(to right, hsl(275, 30%, 54%), hsl(275, 30%, 34%));
gradient dark
background: linear-gradient(to right, hsl(275, 30%, 34%), hsl(275, 30%, 14%))
hex
background-color: #5B3D71;
tailwind
bg-[hsl(275,30%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 30%, 34%, 0.4);
css variable
--color-primary: hsl(275, 30%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 30%, 34%)?
HEX: #5B3D71 | RGB: rgb(91, 61, 113) | CMYK: 19%, 46%, 0%, 56% | HSV: 275°, 46%, 44%. Copy any format from the conversion table above.
What colors go well with #5B3D71?
The complementary color is HSL(95, 30%, 34%). 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, 30%, 34%) in CSS?
As HSL: color: hsl(275, 30%, 34%); — As HEX: color: #5B3D71; — As RGB: color: rgb(91, 61, 113); — Tailwind CSS: bg-[hsl(275,30%,34%)] — CSS variable: --color-primary: hsl(275, 30%, 34%);