#5F1CA1#5F1CA1
#5F1CA1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.194 H 300.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1CA1 |
|---|---|
| RGB | rgb(95, 28, 161) |
| HSL | hsl(270, 70%, 37%) |
| HSV | hsv(270, 83%, 63%) |
| CMYK | cmyk(41%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(29.00, 53.82, -58.41) |
| CIE-LCH | lch(29.00, 79.43, 312.66°) |
| OKLab | oklab(41.27% 0.0981 -0.167) |
| OKLCH | oklch(41.27% 0.194 300.4) |
| XYZ | xyz(11.5660, 5.8365, 34.2285) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.80
Violet Blue
#510AC9
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 5.89
Purple (survey)
#7E1E9C
ΔE00 6.23
Indigo
#4B0082
ΔE00 6.42
Purple Blue
#5D21D0
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1CA1 #5EA11C
analogous
#1D1CA1 #5F1CA1 #A11CA0
triadic
#5F1CA1 #A15F1C #1CA15F
tetradic
#5F1CA1 #A11D1C #5EA11C #1CA0A1
square
#5F1CA1 #A11D1C #5EA11C #1CA0A1
split-complementary
#5F1CA1 #A0A11C #1CA11D
monochromatic
#210A39 #40136D #5F1CA1 #7E25D5 #9C56E2
Accessibility & contrast
On white
9.69
#5F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5F1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1CA1
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1CA1 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#4F4260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5f1ca1; /* rgb */ color: rgb(95, 28, 161); /* oklch */ color: oklch(41.3% 0.194 300.4);
Tailwind
colors: {
custom: {
50: '#9362be',
500: '#5f1ca1',
950: '#000000',
},
}SCSS
$custom: #5f1ca1; $custom-light: #9362be; $custom-dark: #000000;
JSON
{
"hex": "#5f1ca1",
"rgb": {
"r": 95,
"g": 28,
"b": 161
},
"hsl": {
"h": 270.226,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.41266,
"c": 0.19375,
"h": 300.4
},
"luminance": 0.05837
}Semantic roles & 50–950 ramp
primary
#5F1CA1
secondary
#8CC554
accent
#ED3B93
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81