#5F1356#5F1356
#5F1356 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.133 H 333.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1356 |
|---|---|
| RGB | rgb(95, 19, 86) |
| HSL | hsl(307, 67%, 22%) |
| HSV | hsv(307, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 9.5%, 62.7%) |
| CIE-LAB | lab(22.20, 41.19, -21.72) |
| CIE-LCH | lch(22.20, 46.56, 332.20°) |
| OKLab | oklab(34.7% 0.1192 -0.0596) |
| OKLCH | oklch(34.7% 0.133 333.4) |
| XYZ | xyz(6.6319, 3.5711, 9.1423) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.22
Rich Purple
#720058
ΔE00 4.15
Plum Purple
#4E0550
ΔE00 4.21
Deep Violet
#490648
ΔE00 4.86
Plum (survey)
#580F41
ΔE00 5.02
Velvet
#750851
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1356 #135F1C
analogous
#42135F #5F1356 #5F1330
triadic
#5F1356 #565F13 #13565F
tetradic
#5F1356 #5F4213 #135F1C #13305F
square
#5F1356 #5F4213 #135F1C #13305F
split-complementary
#5F1356 #305F13 #135F42
monochromatic
#1A0517 #2C0928 #5F1356 #921D84 #C527B2
Accessibility & contrast
On white
12.25
#5F1356 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#5F1356 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1356
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1356 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1356 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#102E58
Deuteranopia (green-blind)
#2D3954
Tritanopia (blue-blind)
#641B33
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f1356; /* rgb */ color: rgb(95, 19, 86); /* oklch */ color: oklch(34.7% 0.133 333.4);
Tailwind
colors: {
custom: {
50: '#8f5a86',
500: '#5f1356',
950: '#000000',
},
}SCSS
$custom: #5f1356; $custom-light: #8f5a86; $custom-dark: #000000;
JSON
{
"hex": "#5f1356",
"rgb": {
"r": 95,
"g": 19,
"b": 86
},
"hsl": {
"h": 307.105,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.34696,
"c": 0.13324,
"h": 333.4
},
"luminance": 0.03571
}Semantic roles & 50–950 ramp
primary
#5F1356
secondary
#379742
accent
#EA533E
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C