#594D8D#594D8D
#594D8D is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.2% C 0.102 H 290.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #594D8D |
|---|---|
| RGB | rgb(89, 77, 141) |
| HSL | hsl(251, 29%, 43%) |
| HSV | hsv(251, 45%, 55%) |
| CMYK | cmyk(36.9%, 45.4%, 0%, 44.7%) |
| CIE-LAB | lab(36.66, 20.90, -33.91) |
| CIE-LCH | lch(36.66, 39.83, 301.65°) |
| OKLab | oklab(46.23% 0.0356 -0.0955) |
| OKLCH | oklch(46.23% 0.102 290.5) |
| XYZ | xyz(11.5801, 9.3544, 26.3896) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 3.66
Dusk
#4E5481
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.70
Blueberry
#464196
ΔE00 5.93
Royal Purple
#7851A9
ΔE00 7.67
Ocean Blue
#4F42B5
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#594D8D #818D4D
analogous
#4D618D #594D8D #794D8D
triadic
#594D8D #8D594D #4D8D59
tetradic
#594D8D #8D4D61 #818D4D #4D8D79
square
#594D8D #8D4D61 #818D4D #4D8D79
split-complementary
#594D8D #8D794D #618D4D
monochromatic
#27223E #403765 #594D8D #766AAD #9B91C3
Accessibility & contrast
On white
7.31
#594D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#594D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #594D8D
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##594D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##594D8D | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#38558B
Tritanopia (blue-blind)
#4C5966
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #594d8d; /* rgb */ color: rgb(89, 77, 141); /* oklch */ color: oklch(46.2% 0.102 290.5);
Tailwind
colors: {
custom: {
50: '#8a7faf',
500: '#594d8d',
950: '#000000',
},
}SCSS
$custom: #594d8d; $custom-light: #8a7faf; $custom-dark: #000000;
JSON
{
"hex": "#594d8d",
"rgb": {
"r": 89,
"g": 77,
"b": 141
},
"hsl": {
"h": 251.25,
"s": 29.358,
"l": 42.745
},
"oklch": {
"l": 0.46227,
"c": 0.1019,
"h": 290.5
},
"luminance": 0.09355
}Semantic roles & 50–950 ramp
primary
#594D8D
secondary
#A8AF86
accent
#C662B3
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F