#59229F#59229F
#59229F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.185 H 297.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #59229F |
|---|---|
| RGB | rgb(89, 34, 159) |
| HSL | hsl(266, 65%, 38%) |
| HSV | hsv(266, 79%, 62%) |
| CMYK | cmyk(44%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(28.83, 50.06, -57.50) |
| CIE-LCH | lch(28.83, 76.24, 311.04°) |
| OKLab | oklab(40.92% 0.085 -0.1646) |
| OKLCH | oklch(40.92% 0.185 297.3) |
| XYZ | xyz(10.9482, 5.7709, 33.3312) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.54
Indigo Blue
#3A18B1
ΔE00 5.35
Violet Blue
#510AC9
ΔE00 5.99
Indigo
#4B0082
ΔE00 6.48
Purple Blue
#5D21D0
ΔE00 6.70
Purple (survey)
#7E1E9C
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#59229F #689F22
analogous
#22299F #59229F #97229F
triadic
#59229F #9F5922 #229F59
tetradic
#59229F #9F2229 #689F22 #229F97
square
#59229F #9F2229 #689F22 #229F97
split-complementary
#59229F #9F9722 #299F22
monochromatic
#210C3A #3D176D #59229F #752DD1 #965FDD
Accessibility & contrast
On white
9.75
#59229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#59229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #59229F
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##59229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##59229F | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#474460
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #59229f; /* rgb */ color: rgb(89, 34, 159); /* oklch */ color: oklch(40.9% 0.185 297.3);
Tailwind
colors: {
custom: {
50: '#8f64bc',
500: '#59229f',
950: '#000000',
},
}SCSS
$custom: #59229f; $custom-light: #8f64bc; $custom-dark: #000000;
JSON
{
"hex": "#59229f",
"rgb": {
"r": 89,
"g": 34,
"b": 159
},
"hsl": {
"h": 266.4,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.4092,
"c": 0.1853,
"h": 297.3
},
"luminance": 0.05771
}Semantic roles & 50–950 ramp
primary
#59229F
secondary
#95C15B
accent
#E8409E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81