HSL(281, 86%, 23%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,86%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 86%, 23%) | color: hsl(281, 86%, 23%) | |
| HEX | #4D086D | color: #4D086D | |
| RGB | rgb(77, 8, 109) | color: rgb(77, 8, 109) | |
| CMYK | cmyk(29%, 93%, 0%, 57%) | — | |
| HSV | hsv(281, 93%, 43%) | — | |
| HWB | hwb(281 3% 57%) | color: hwb(281 3% 57%) | |
| OKLCH | oklch(0.3265 0.1555 310.74) | color: oklch(0.3265 0.1555 310.74) | |
| Lab | lab(19.46 45.22 -41.48) | color: lab(19.46 45.22 -41.48) | |
| LCH | lch(19.46 61.36 317.47) | color: lch(19.46 61.36 317.47) |
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)
#2F2F55 — rgb(47, 47, 85)
Deuteranopia (Green-blind)
#33384F — rgb(51, 56, 79)
Tritanopia (Blue-blind)
#4A413D — rgb(74, 65, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 86%, 23%);
text
color: hsl(281, 86%, 23%);
border
border: 2px solid hsl(281, 86%, 23%);
gradient light
background: linear-gradient(to right, hsl(281, 86%, 43%), hsl(281, 86%, 23%));
gradient dark
background: linear-gradient(to right, hsl(281, 86%, 23%), hsl(281, 86%, 3%))
hex
background-color: #4D086D;
tailwind
bg-[hsl(281,86%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 86%, 23%, 0.4);
css variable
--color-primary: hsl(281, 86%, 23%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 86%, 23%)?
HEX: #4D086D | RGB: rgb(77, 8, 109) | CMYK: 29%, 93%, 0%, 57% | HSV: 281°, 93%, 43%. Copy any format from the conversion table above.
What colors go well with #4D086D?
The complementary color is HSL(101, 86%, 23%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 86%, 23%) in CSS?
As HSL: color: hsl(281, 86%, 23%); — As HEX: color: #4D086D; — As RGB: color: rgb(77, 8, 109); — Tailwind CSS: bg-[hsl(281,86%,23%)] — CSS variable: --color-primary: hsl(281, 86%, 23%);