HSL(257, 75%, 32%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,75%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 75%, 32%) | color: hsl(257, 75%, 32%) | |
| HEX | #37148F | color: #37148F | |
| RGB | rgb(55, 20, 143) | color: rgb(55, 20, 143) | |
| CMYK | cmyk(62%, 86%, 0%, 44%) | — | |
| HSV | hsv(257, 86%, 56%) | — | |
| HWB | hwb(257 8% 44%) | color: hwb(257 8% 44%) | |
| OKLCH | oklch(0.3423 0.1799 284.67) | color: oklch(0.3423 0.1799 284.67) | |
| Lab | lab(21.19 47.09 -60.37) | color: lab(21.19 47.09 -60.37) | |
| LCH | lch(21.19 76.56 307.96) | color: lch(21.19 76.56 307.96) |
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)
#282871 — rgb(40, 40, 113)
Deuteranopia (Green-blind)
#2A2D6A — rgb(42, 45, 106)
Tritanopia (Blue-blind)
#355A55 — rgb(53, 90, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 75%, 32%);
text
color: hsl(257, 75%, 32%);
border
border: 2px solid hsl(257, 75%, 32%);
gradient light
background: linear-gradient(to right, hsl(257, 75%, 52%), hsl(257, 75%, 32%));
gradient dark
background: linear-gradient(to right, hsl(257, 75%, 32%), hsl(257, 75%, 12%))
hex
background-color: #37148F;
tailwind
bg-[hsl(257,75%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 75%, 32%, 0.4);
css variable
--color-primary: hsl(257, 75%, 32%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 75%, 32%)?
HEX: #37148F | RGB: rgb(55, 20, 143) | CMYK: 62%, 86%, 0%, 44% | HSV: 257°, 86%, 56%. Copy any format from the conversion table above.
What colors go well with #37148F?
The complementary color is HSL(77, 75%, 32%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 75%, 32%) in CSS?
As HSL: color: hsl(257, 75%, 32%); — As HEX: color: #37148F; — As RGB: color: rgb(55, 20, 143); — Tailwind CSS: bg-[hsl(257,75%,32%)] — CSS variable: --color-primary: hsl(257, 75%, 32%);