#5F2E6A#5F2E6A
#5F2E6A is a dark, moderate purple. Relative luminance 0.054; OKLCH L 39.2% C 0.111 H 320.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2E6A |
|---|---|
| RGB | rgb(95, 46, 106) |
| HSL | hsl(289, 39%, 30%) |
| HSV | hsv(289, 57%, 42%) |
| CMYK | cmyk(10.4%, 56.6%, 0%, 58.4%) |
| CIE-LAB | lab(27.92, 32.49, -25.80) |
| CIE-LCH | lch(27.92, 41.49, 321.55°) |
| OKLab | oklab(39.23% 0.0854 -0.0716) |
| OKLCH | oklch(39.23% 0.111 320) |
| XYZ | xyz(8.2975, 5.4278, 14.2435) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 5.69
Darkish Purple
#751973
ΔE00 6.00
Grape Purple
#5D1451
ΔE00 6.97
Plum Purple
#4E0550
ΔE00 8.41
Bruise
#7E4071
ΔE00 8.59
Purple
#800080
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2E6A #396A2E
analogous
#412E6A #5F2E6A #6A2E57
triadic
#5F2E6A #6A5F2E #2E6A5F
tetradic
#5F2E6A #6A412E #396A2E #2E576A
square
#5F2E6A #6A412E #396A2E #2E576A
split-complementary
#5F2E6A #576A2E #2E6A41
monochromatic
#130915 #391B3F #5F2E6A #854195 #A75BB8
Accessibility & contrast
On white
10.07
#5F2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#5F2E6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2E6A
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2E6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2E6A | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233E6C
Deuteranopia (green-blind)
#334468
Tritanopia (blue-blind)
#603747
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #5f2e6a; /* rgb */ color: rgb(95, 46, 106); /* oklch */ color: oklch(39.2% 0.111 320.0);
Tailwind
colors: {
custom: {
50: '#8e6995',
500: '#5f2e6a',
950: '#000000',
},
}SCSS
$custom: #5f2e6a; $custom-light: #8e6995; $custom-dark: #000000;
JSON
{
"hex": "#5f2e6a",
"rgb": {
"r": 95,
"g": 46,
"b": 106
},
"hsl": {
"h": 289,
"s": 39.474,
"l": 29.804
},
"oklch": {
"l": 0.39225,
"c": 0.11144,
"h": 320
},
"luminance": 0.05427
}Semantic roles & 50–950 ramp
primary
#5F2E6A
secondary
#659C58
accent
#CF586E
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E