#5B2FBF#5B2FBF
#5B2FBF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.208 H 289.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2FBF |
|---|---|
| RGB | rgb(91, 47, 191) |
| HSL | hsl(258, 61%, 47%) |
| HSV | hsv(258, 75%, 75%) |
| CMYK | cmyk(52.4%, 75.4%, 0%, 25.1%) |
| CIE-LAB | lab(34.02, 52.98, -68.11) |
| CIE-LCH | lch(34.02, 86.29, 307.88°) |
| OKLab | oklab(45.5% 0.0688 -0.1958) |
| OKLCH | oklch(45.5% 0.208 289.4) |
| XYZ | xyz(14.7321, 8.0181, 50.0515) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.77
Blurple
#5539CC
ΔE00 3.03
Blue With A Hint Of Purple
#533CC6
ΔE00 3.33
Bluey Purple
#6241C7
ΔE00 4.35
Violet Blue
#510AC9
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2FBF #93BF2F
analogous
#2F4BBF #5B2FBF #A32FBF
triadic
#5B2FBF #BF5B2F #2FBF5B
tetradic
#5B2FBF #BF2F4B #93BF2F #2FBFA3
square
#5B2FBF #BF2F4B #93BF2F #2FBFA3
split-complementary
#5B2FBF #BFA32F #4BBF2F
monochromatic
#2C175D #44238E #5B2FBF #7D56D5 #A387E1
Accessibility & contrast
On white
8.07
#5B2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#5B2FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2FBF
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2FBF | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#355775
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5b2fbf; /* rgb */ color: rgb(91, 47, 191); /* oklch */ color: oklch(45.5% 0.208 289.4);
Tailwind
colors: {
custom: {
50: '#946cd3',
500: '#5b2fbf',
950: '#000000',
},
}SCSS
$custom: #5b2fbf; $custom-light: #946cd3; $custom-dark: #000000;
JSON
{
"hex": "#5b2fbf",
"rgb": {
"r": 91,
"g": 47,
"b": 191
},
"hsl": {
"h": 258.333,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.45497,
"c": 0.20751,
"h": 289.4
},
"luminance": 0.08019
}Semantic roles & 50–950 ramp
primary
#5B2FBF
secondary
#B4CB7F
accent
#E444B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83