#5F2DBF#5F2DBF
#5F2DBF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.209 H 291.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2DBF |
|---|---|
| RGB | rgb(95, 45, 191) |
| HSL | hsl(261, 62%, 46%) |
| HSV | hsv(261, 76%, 75%) |
| CMYK | cmyk(50.3%, 76.4%, 0%, 25.1%) |
| CIE-LAB | lab(34.13, 54.48, -67.92) |
| CIE-LCH | lch(34.13, 87.07, 308.74°) |
| OKLab | oklab(45.67% 0.0763 -0.1951) |
| OKLCH | oklch(45.67% 0.209 291.4) |
| XYZ | xyz(15.0590, 8.0707, 50.0444) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.58
Blurple
#5539CC
ΔE00 3.51
Blue With A Hint Of Purple
#533CC6
ΔE00 3.89
Bluey Purple
#6241C7
ΔE00 4.58
Violet Blue
#510AC9
ΔE00 4.71
Burple
#6832E3
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2DBF #8DBF2D
analogous
#2D44BF #5F2DBF #A82DBF
triadic
#5F2DBF #BF5F2D #2DBF5F
tetradic
#5F2DBF #BF2D44 #8DBF2D #2DBFA8
square
#5F2DBF #BF2D44 #8DBF2D #2DBFA8
split-complementary
#5F2DBF #BFA82D #44BF2D
monochromatic
#2E165C #46218D #5F2DBF #8053D6 #A484E2
Accessibility & contrast
On white
8.03
#5F2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#5F2DBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2DBF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2DBF | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#3E5675
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5f2dbf; /* rgb */ color: rgb(95, 45, 191); /* oklch */ color: oklch(45.7% 0.209 291.4);
Tailwind
colors: {
custom: {
50: '#966cd3',
500: '#5f2dbf',
950: '#000000',
},
}SCSS
$custom: #5f2dbf; $custom-light: #966cd3; $custom-dark: #000000;
JSON
{
"hex": "#5f2dbf",
"rgb": {
"r": 95,
"g": 45,
"b": 191
},
"hsl": {
"h": 260.548,
"s": 61.864,
"l": 46.275
},
"oklch": {
"l": 0.45674,
"c": 0.20945,
"h": 291.4
},
"luminance": 0.08071
}Semantic roles & 50–950 ramp
primary
#5F2DBF
secondary
#B0CB7C
accent
#E543AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83