#591F9C#591F9C
#591F9C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.185 H 298.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #591F9C |
|---|---|
| RGB | rgb(89, 31, 156) |
| HSL | hsl(268, 67%, 37%) |
| HSV | hsv(268, 80%, 61%) |
| CMYK | cmyk(42.9%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(28.12, 50.55, -56.82) |
| CIE-LCH | lch(28.12, 76.05, 311.65°) |
| OKLab | oklab(40.35% 0.0883 -0.1626) |
| OKLCH | oklch(40.35% 0.185 298.5) |
| XYZ | xyz(10.6090, 5.5040, 31.9495) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.81
Indigo Blue
#3A18B1
ΔE00 5.51
Indigo
#4B0082
ΔE00 5.83
Violet Blue
#510AC9
ΔE00 6.29
Purple (survey)
#7E1E9C
ΔE00 7.02
Purple Blue
#5D21D0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#591F9C #629C1F
analogous
#1F249C #591F9C #981F9C
triadic
#591F9C #9C591F #1F9C59
tetradic
#591F9C #9C1F24 #629C1F #1F9C98
square
#591F9C #9C1F24 #629C1F #1F9C98
split-complementary
#591F9C #9C981F #249C1F
monochromatic
#1F0B36 #3C1569 #591F9C #7629CF #9658DE
Accessibility & contrast
On white
10.00
#591F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#591F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #591F9C
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##591F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##591F9C | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#48425E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #591f9c; /* rgb */ color: rgb(89, 31, 156); /* oklch */ color: oklch(40.3% 0.185 298.5);
Tailwind
colors: {
custom: {
50: '#8f62ba',
500: '#591f9c',
950: '#000000',
},
}SCSS
$custom: #591f9c; $custom-light: #8f62ba; $custom-dark: #000000;
JSON
{
"hex": "#591f9c",
"rgb": {
"r": 89,
"g": 31,
"b": 156
},
"hsl": {
"h": 267.84,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.40347,
"c": 0.18507,
"h": 298.5
},
"luminance": 0.05504
}Semantic roles & 50–950 ramp
primary
#591F9C
secondary
#8FC155
accent
#EA3E9A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0512
muted
#7E7A81