#594591#594591
#594591 is a dark, vivid violet. Relative luminance 0.084; OKLCH L 44.9% C 0.121 H 293.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #594591 |
|---|---|
| RGB | rgb(89, 69, 145) |
| HSL | hsl(256, 36%, 42%) |
| HSV | hsv(256, 52%, 57%) |
| CMYK | cmyk(38.6%, 52.4%, 0%, 43.1%) |
| CIE-LAB | lab(34.85, 27.09, -39.22) |
| CIE-LCH | lch(34.85, 47.67, 304.63°) |
| OKLab | oklab(44.95% 0.0472 -0.111) |
| OKLCH | oklch(44.95% 0.121 293) |
| XYZ | xyz(11.3574, 8.4242, 27.8102) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.80
Blueberry
#464196
ΔE00 4.37
Twilight
#4E518B
ΔE00 5.98
Rebeccapurple
#663399
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.83
Royal Purple
#7851A9
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#594591 #7D9145
analogous
#455791 #594591 #7F4591
triadic
#594591 #915945 #459159
tetradic
#594591 #914557 #7D9145 #45917F
square
#594591 #914557 #7D9145 #45917F
split-complementary
#594591 #917F45 #579145
monochromatic
#261E3E #403168 #594591 #7660B3 #9A89C7
Accessibility & contrast
On white
7.82
#594591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#594591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #594591
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##594591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##594591 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#2A518F
Tritanopia (blue-blind)
#4B5464
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #594591; /* rgb */ color: rgb(89, 69, 145); /* oklch */ color: oklch(44.9% 0.121 293.0);
Tailwind
colors: {
custom: {
50: '#8b79b2',
500: '#594591',
950: '#000000',
},
}SCSS
$custom: #594591; $custom-light: #8b79b2; $custom-dark: #000000;
JSON
{
"hex": "#594591",
"rgb": {
"r": 89,
"g": 69,
"b": 145
},
"hsl": {
"h": 255.789,
"s": 35.514,
"l": 41.961
},
"oklch": {
"l": 0.44947,
"c": 0.12066,
"h": 293
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#594591
secondary
#A5B280
accent
#CC5CAE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80