#595181#595181
#595181 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.4% C 0.077 H 290.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #595181 |
|---|---|
| RGB | rgb(89, 81, 129) |
| HSL | hsl(250, 23%, 41%) |
| HSV | hsv(250, 37%, 51%) |
| CMYK | cmyk(31%, 37.2%, 0%, 49.4%) |
| CIE-LAB | lab(37.10, 14.95, -25.87) |
| CIE-LCH | lch(37.10, 29.87, 300.02°) |
| OKLab | oklab(46.36% 0.0273 -0.0721) |
| OKLCH | oklch(46.36% 0.077 290.7) |
| XYZ | xyz(11.0237, 9.5935, 22.0356) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 4.06
Twilight
#4E518B
ΔE00 4.41
Darkslateblue
#483D8B
ΔE00 8.50
Blueberry
#464196
ΔE00 9.04
Dusky Blue
#475F94
ΔE00 9.77
Royal Purple
#7851A9
ΔE00 9.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#595181 #798151
analogous
#516181 #595181 #715181
triadic
#595181 #815951 #518159
tetradic
#595181 #815161 #798151 #518171
square
#595181 #815161 #798151 #518171
split-complementary
#595181 #817151 #618151
monochromatic
#252236 #3F395B #595181 #756CA3 #9992BA
Accessibility & contrast
On white
7.19
#595181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#595181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #595181
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##595181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##595181 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#505A63
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #595181; /* rgb */ color: rgb(89, 81, 129); /* oklch */ color: oklch(46.4% 0.077 290.7);
Tailwind
colors: {
custom: {
50: '#8981a6',
500: '#595181',
950: '#000000',
},
}SCSS
$custom: #595181; $custom-light: #8981a6; $custom-dark: #000000;
JSON
{
"hex": "#595181",
"rgb": {
"r": 89,
"g": 81,
"b": 129
},
"hsl": {
"h": 250,
"s": 22.857,
"l": 41.176
},
"oklch": {
"l": 0.4636,
"c": 0.07709,
"h": 290.7
},
"luminance": 0.09594
}Semantic roles & 50–950 ramp
primary
#595181
secondary
#A2A886
accent
#BF68B1
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F