HSL(282, 75%, 28%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,75%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 75%, 28%) | color: hsl(282, 75%, 28%) | |
| HEX | #5D127D | color: #5D127D | |
| RGB | rgb(93, 18, 125) | color: rgb(93, 18, 125) | |
| CMYK | cmyk(26%, 86%, 0%, 51%) | — | |
| HSV | hsv(282, 86%, 49%) | — | |
| HWB | hwb(282 7% 51%) | color: hwb(282 7% 51%) | |
| OKLCH | oklch(0.3708 0.1674 312.56) | color: oklch(0.3708 0.1674 312.56) | |
| Lab | lab(24.45 48.63 -43.51) | color: lab(24.45 48.63 -43.51) | |
| LCH | lch(24.45 65.25 318.18) | color: lch(24.45 65.25 318.18) |
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)
#3D3C63 — rgb(61, 60, 99)
Deuteranopia (Green-blind)
#41475D — rgb(65, 71, 93)
Tritanopia (Blue-blind)
#594F4A — rgb(89, 79, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 75%, 28%);
text
color: hsl(282, 75%, 28%);
border
border: 2px solid hsl(282, 75%, 28%);
gradient light
background: linear-gradient(to right, hsl(282, 75%, 48%), hsl(282, 75%, 28%));
gradient dark
background: linear-gradient(to right, hsl(282, 75%, 28%), hsl(282, 75%, 8%))
hex
background-color: #5D127D;
tailwind
bg-[hsl(282,75%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 75%, 28%, 0.4);
css variable
--color-primary: hsl(282, 75%, 28%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 75%, 28%)?
HEX: #5D127D | RGB: rgb(93, 18, 125) | CMYK: 26%, 86%, 0%, 51% | HSV: 282°, 86%, 49%. Copy any format from the conversion table above.
What colors go well with #5D127D?
The complementary color is HSL(102, 75%, 28%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 75%, 28%) in CSS?
As HSL: color: hsl(282, 75%, 28%); — As HEX: color: #5D127D; — As RGB: color: rgb(93, 18, 125); — Tailwind CSS: bg-[hsl(282,75%,28%)] — CSS variable: --color-primary: hsl(282, 75%, 28%);