HSL(283, 85%, 26%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,85%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 85%, 26%) | color: hsl(283, 85%, 26%) | |
| HEX | #5B0A7B | color: #5B0A7B | |
| RGB | rgb(91, 10, 123) | color: rgb(91, 10, 123) | |
| CMYK | cmyk(26%, 92%, 0%, 52%) | — | |
| HSV | hsv(283, 92%, 48%) | — | |
| HWB | hwb(283 4% 52%) | color: hwb(283 4% 52%) | |
| OKLCH | oklch(0.3613 0.1708 312.77) | color: oklch(0.3613 0.1708 312.77) | |
| Lab | lab(23.24 49.95 -44.22) | color: lab(23.24 49.95 -44.22) | |
| LCH | lch(23.24 66.71 318.48) | color: lch(23.24 66.71 318.48) |
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)
#383760 — rgb(56, 55, 96)
Deuteranopia (Green-blind)
#3D4359 — rgb(61, 67, 89)
Tritanopia (Blue-blind)
#574A45 — rgb(87, 74, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 85%, 26%);
text
color: hsl(283, 85%, 26%);
border
border: 2px solid hsl(283, 85%, 26%);
gradient light
background: linear-gradient(to right, hsl(283, 85%, 46%), hsl(283, 85%, 26%));
gradient dark
background: linear-gradient(to right, hsl(283, 85%, 26%), hsl(283, 85%, 6%))
hex
background-color: #5B0A7B;
tailwind
bg-[hsl(283,85%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 85%, 26%, 0.4);
css variable
--color-primary: hsl(283, 85%, 26%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 85%, 26%)?
HEX: #5B0A7B | RGB: rgb(91, 10, 123) | CMYK: 26%, 92%, 0%, 52% | HSV: 283°, 92%, 48%. Copy any format from the conversion table above.
What colors go well with #5B0A7B?
The complementary color is HSL(103, 85%, 26%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 85%, 26%) in CSS?
As HSL: color: hsl(283, 85%, 26%); — As HEX: color: #5B0A7B; — As RGB: color: rgb(91, 10, 123); — Tailwind CSS: bg-[hsl(283,85%,26%)] — CSS variable: --color-primary: hsl(283, 85%, 26%);