#594792#594792
#594792 is a mid, moderate violet. Relative luminance 0.087; OKLCH L 45.4% C 0.119 H 292.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #594792 |
|---|---|
| RGB | rgb(89, 71, 146) |
| HSL | hsl(254, 35%, 43%) |
| HSV | hsv(254, 51%, 57%) |
| CMYK | cmyk(39%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(35.41, 26.13, -38.94) |
| CIE-LCH | lch(35.41, 46.89, 303.87°) |
| OKLab | oklab(45.39% 0.0446 -0.1102) |
| OKLCH | oklch(45.39% 0.119 292) |
| XYZ | xyz(11.5600, 8.7054, 28.2598) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.07
Blueberry
#464196
ΔE00 4.39
Twilight
#4E518B
ΔE00 5.43
Rebeccapurple
#663399
ΔE00 6.77
Ocean Blue
#4F42B5
ΔE00 6.81
Royal Purple
#7851A9
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#594792 #809247
analogous
#475B92 #594792 #7E4792
triadic
#594792 #925947 #479259
tetradic
#594792 #92475B #809247 #47927E
square
#594792 #92475B #809247 #47927E
split-complementary
#594792 #927E47 #5B9247
monochromatic
#271F40 #403369 #594792 #7663B3 #9A8CC7
Accessibility & contrast
On white
7.66
#594792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#594792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #594792
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##594792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##594792 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#2C5290
Tritanopia (blue-blind)
#4A5665
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #594792; /* rgb */ color: rgb(89, 71, 146); /* oklch */ color: oklch(45.4% 0.119 292.0);
Tailwind
colors: {
custom: {
50: '#8b7ab2',
500: '#594792',
950: '#000000',
},
}SCSS
$custom: #594792; $custom-light: #8b7ab2; $custom-dark: #000000;
JSON
{
"hex": "#594792",
"rgb": {
"r": 89,
"g": 71,
"b": 146
},
"hsl": {
"h": 254.4,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.45385,
"c": 0.11887,
"h": 292
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#594792
secondary
#A7B382
accent
#CB5DB0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80