#591A9F#591A9F
#591A9F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.193 H 298.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #591A9F |
|---|---|
| RGB | rgb(89, 26, 159) |
| HSL | hsl(268, 72%, 36%) |
| HSV | hsv(268, 84%, 62%) |
| CMYK | cmyk(44%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(27.75, 53.18, -59.26) |
| CIE-LCH | lch(27.75, 79.63, 311.90°) |
| OKLab | oklab(40.17% 0.091 -0.1698) |
| OKLCH | oklch(40.17% 0.193 298.2) |
| XYZ | xyz(10.7456, 5.3657, 33.2637) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.10
Rebeccapurple
#663399
ΔE00 5.52
Indigo
#4B0082
ΔE00 5.66
Violet Blue
#510AC9
ΔE00 5.73
Purple Blue
#5D21D0
ΔE00 6.96
Indigo (survey)
#380282
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#591A9F #609F1A
analogous
#1A1E9F #591A9F #9C1A9F
triadic
#591A9F #9F591A #1A9F59
tetradic
#591A9F #9F1A1E #609F1A #1A9F9C
square
#591A9F #9F1A1E #609F1A #1A9F9C
split-complementary
#591A9F #9F9C1A #1E9F1A
monochromatic
#1E0936 #3C116A #591A9F #7623D4 #9651E3
Accessibility & contrast
On white
10.13
#591A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#591A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #591A9F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##591A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##591A9F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#47415E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #591a9f; /* rgb */ color: rgb(89, 26, 159); /* oklch */ color: oklch(40.2% 0.193 298.2);
Tailwind
colors: {
custom: {
50: '#8f60bc',
500: '#591a9f',
950: '#000000',
},
}SCSS
$custom: #591a9f; $custom-light: #8f60bc; $custom-dark: #000000;
JSON
{
"hex": "#591a9f",
"rgb": {
"r": 89,
"g": 26,
"b": 159
},
"hsl": {
"h": 268.421,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.40173,
"c": 0.19259,
"h": 298.2
},
"luminance": 0.05366
}Semantic roles & 50–950 ramp
primary
#591A9F
secondary
#8DC550
accent
#EF3999
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81