#5F2CBC#5F2CBC
#5F2CBC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.207 H 292.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2CBC |
|---|---|
| RGB | rgb(95, 44, 188) |
| HSL | hsl(261, 62%, 45%) |
| HSV | hsv(261, 77%, 74%) |
| CMYK | cmyk(49.5%, 76.6%, 0%, 26.3%) |
| CIE-LAB | lab(33.70, 54.13, -66.85) |
| CIE-LCH | lch(33.70, 86.02, 309.00°) |
| OKLab | oklab(45.29% 0.0779 -0.1919) |
| OKLCH | oklch(45.29% 0.207 292.1) |
| XYZ | xyz(14.6945, 7.8646, 48.3110) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.82
Blurple
#5539CC
ΔE00 3.92
Blue With A Hint Of Purple
#533CC6
ΔE00 4.24
Violet Blue
#510AC9
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.93
Burple
#6832E3
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2CBC #89BC2C
analogous
#2C41BC #5F2CBC #A72CBC
triadic
#5F2CBC #BC5F2C #2CBC5F
tetradic
#5F2CBC #BC2C41 #89BC2C #2CBCA7
square
#5F2CBC #BC2C41 #89BC2C #2CBCA7
split-complementary
#5F2CBC #BCA72C #41BC2C
monochromatic
#2D1559 #46208A #5F2CBC #7F4FD6 #A381E1
Accessibility & contrast
On white
8.16
#5F2CBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#5F2CBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2CBC
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2CBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2CBC | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#405473
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #5f2cbc; /* rgb */ color: rgb(95, 44, 188); /* oklch */ color: oklch(45.3% 0.207 292.1);
Tailwind
colors: {
custom: {
50: '#966bd1',
500: '#5f2cbc',
950: '#000000',
},
}SCSS
$custom: #5f2cbc; $custom-light: #966bd1; $custom-dark: #000000;
JSON
{
"hex": "#5f2cbc",
"rgb": {
"r": 95,
"g": 44,
"b": 188
},
"hsl": {
"h": 261.25,
"s": 62.069,
"l": 45.49
},
"oklch": {
"l": 0.4529,
"c": 0.20715,
"h": 292.1
},
"luminance": 0.07865
}Semantic roles & 50–950 ramp
primary
#5F2CBC
secondary
#AECA79
accent
#E543AC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83