HSL(256, 48%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,48%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 48%, 29%) | color: hsl(256, 48%, 29%) | |
| HEX | #39266D | color: #39266D | |
| RGB | rgb(57, 38, 109) | color: rgb(57, 38, 109) | |
| CMYK | cmyk(48%, 65%, 0%, 57%) | — | |
| HSV | hsv(256, 65%, 43%) | — | |
| HWB | hwb(256 15% 57%) | color: hwb(256 15% 57%) | |
| OKLCH | oklch(0.3345 0.1175 291.01) | color: oklch(0.3345 0.1175 291.01) | |
| Lab | lab(21.43 27.74 -38.39) | color: lab(21.43 27.74 -38.39) | |
| LCH | lch(21.43 47.36 305.85) | color: lch(21.43 47.36 305.85) |
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)
#31315C — rgb(49, 49, 92)
Deuteranopia (Green-blind)
#323358 — rgb(50, 51, 88)
Tritanopia (Blue-blind)
#384E4B — rgb(56, 78, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 48%, 29%);
text
color: hsl(256, 48%, 29%);
border
border: 2px solid hsl(256, 48%, 29%);
gradient light
background: linear-gradient(to right, hsl(256, 48%, 49%), hsl(256, 48%, 29%));
gradient dark
background: linear-gradient(to right, hsl(256, 48%, 29%), hsl(256, 48%, 9%))
hex
background-color: #39266D;
tailwind
bg-[hsl(256,48%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 48%, 29%, 0.4);
css variable
--color-primary: hsl(256, 48%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 48%, 29%)?
HEX: #39266D | RGB: rgb(57, 38, 109) | CMYK: 48%, 65%, 0%, 57% | HSV: 256°, 65%, 43%. Copy any format from the conversion table above.
What colors go well with #39266D?
The complementary color is HSL(76, 48%, 29%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 48%, 29%) in CSS?
As HSL: color: hsl(256, 48%, 29%); — As HEX: color: #39266D; — As RGB: color: rgb(57, 38, 109); — Tailwind CSS: bg-[hsl(256,48%,29%)] — CSS variable: --color-primary: hsl(256, 48%, 29%);