#5F2EBF#5F2EBF
#5F2EBF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.208 H 291.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2EBF |
|---|---|
| RGB | rgb(95, 46, 191) |
| HSL | hsl(260, 61%, 46%) |
| HSV | hsv(260, 76%, 75%) |
| CMYK | cmyk(50.3%, 75.9%, 0%, 25.1%) |
| CIE-LAB | lab(34.29, 54.02, -67.65) |
| CIE-LCH | lch(34.29, 86.58, 308.61°) |
| OKLab | oklab(45.79% 0.0755 -0.1943) |
| OKLCH | oklch(45.79% 0.208 291.2) |
| XYZ | xyz(15.0976, 8.1479, 50.0573) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.69
Blurple
#5539CC
ΔE00 3.37
Blue With A Hint Of Purple
#533CC6
ΔE00 3.74
Bluey Purple
#6241C7
ΔE00 4.40
Violet Blue
#510AC9
ΔE00 4.88
Burple
#6832E3
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2EBF #8EBF2E
analogous
#2E46BF #5F2EBF #A82EBF
triadic
#5F2EBF #BF5F2E #2EBF5F
tetradic
#5F2EBF #BF2E46 #8EBF2E #2EBFA8
square
#5F2EBF #BF2E46 #8EBF2E #2EBFA8
split-complementary
#5F2EBF #BFA82E #46BF2E
monochromatic
#2E165C #46228E #5F2EBF #8054D6 #A586E2
Accessibility & contrast
On white
7.99
#5F2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5F2EBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2EBF
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2EBF | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#3E5675
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5f2ebf; /* rgb */ color: rgb(95, 46, 191); /* oklch */ color: oklch(45.8% 0.208 291.2);
Tailwind
colors: {
custom: {
50: '#966cd3',
500: '#5f2ebf',
950: '#000000',
},
}SCSS
$custom: #5f2ebf; $custom-light: #966cd3; $custom-dark: #000000;
JSON
{
"hex": "#5f2ebf",
"rgb": {
"r": 95,
"g": 46,
"b": 191
},
"hsl": {
"h": 260.276,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.45786,
"c": 0.20847,
"h": 291.2
},
"luminance": 0.08148
}Semantic roles & 50–950 ramp
primary
#5F2EBF
secondary
#B1CB7E
accent
#E444AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83