#5F1CA0#5F1CA0
#5F1CA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.193 H 300.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1CA0 |
|---|---|
| RGB | rgb(95, 28, 160) |
| HSL | hsl(270, 70%, 37%) |
| HSV | hsv(270, 83%, 63%) |
| CMYK | cmyk(40.6%, 82.5%, 0%, 37.3%) |
| CIE-LAB | lab(28.91, 53.58, -57.95) |
| CIE-LCH | lch(28.91, 78.93, 312.76°) |
| OKLab | oklab(41.18% 0.0985 -0.1657) |
| OKLCH | oklch(41.18% 0.193 300.7) |
| XYZ | xyz(11.4782, 5.8014, 33.7659) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 5.98
Violet Blue
#510AC9
ΔE00 6.00
Purple (survey)
#7E1E9C
ΔE00 6.18
Indigo
#4B0082
ΔE00 6.32
Purple Blue
#5D21D0
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1CA0 #5DA01C
analogous
#1D1CA0 #5F1CA0 #A01C9F
triadic
#5F1CA0 #A05F1C #1CA05F
tetradic
#5F1CA0 #A01D1C #5DA01C #1C9FA0
square
#5F1CA0 #A01D1C #5DA01C #1C9FA0
split-complementary
#5F1CA0 #9FA01C #1CA01D
monochromatic
#210A38 #40136C #5F1CA0 #7E25D4 #9C55E1
Accessibility & contrast
On white
9.72
#5F1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#5F1CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1CA0
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1CA0 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#50425F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5f1ca0; /* rgb */ color: rgb(95, 28, 160); /* oklch */ color: oklch(41.2% 0.193 300.7);
Tailwind
colors: {
custom: {
50: '#9362bd',
500: '#5f1ca0',
950: '#000000',
},
}SCSS
$custom: #5f1ca0; $custom-light: #9362bd; $custom-dark: #000000;
JSON
{
"hex": "#5f1ca0",
"rgb": {
"r": 95,
"g": 28,
"b": 160
},
"hsl": {
"h": 270.455,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.41176,
"c": 0.19275,
"h": 300.7
},
"luminance": 0.05801
}Semantic roles & 50–950 ramp
primary
#5F1CA0
secondary
#8BC453
accent
#ED3B93
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81