#5B2FC1#5B2FC1
#5B2FC1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.210 H 289.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2FC1 |
|---|---|
| RGB | rgb(91, 47, 193) |
| HSL | hsl(258, 61%, 47%) |
| HSV | hsv(258, 76%, 76%) |
| CMYK | cmyk(52.8%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(34.20, 53.53, -68.98) |
| CIE-LCH | lch(34.20, 87.32, 307.81°) |
| OKLab | oklab(45.68% 0.0683 -0.1983) |
| OKLCH | oklch(45.68% 0.21 289) |
| XYZ | xyz(14.9537, 8.1067, 51.2186) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.60
Blurple
#5539CC
ΔE00 2.84
Blue With A Hint Of Purple
#533CC6
ΔE00 3.22
Bluey Purple
#6241C7
ΔE00 4.25
Violet Blue
#510AC9
ΔE00 4.80
Burple
#6832E3
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2FC1 #95C12F
analogous
#2F4CC1 #5B2FC1 #A42FC1
triadic
#5B2FC1 #C15B2F #2FC15B
tetradic
#5B2FC1 #C12F4C #95C12F #2FC1A4
square
#5B2FC1 #C12F4C #95C12F #2FC1A4
split-complementary
#5B2FC1 #C1A42F #4CC12F
monochromatic
#2D175F #442390 #5B2FC1 #7D57D6 #A388E2
Accessibility & contrast
On white
8.01
#5B2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#5B2FC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2FC1
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2FC1 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#345876
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5b2fc1; /* rgb */ color: rgb(91, 47, 193); /* oklch */ color: oklch(45.7% 0.210 289.0);
Tailwind
colors: {
custom: {
50: '#946dd5',
500: '#5b2fc1',
950: '#000000',
},
}SCSS
$custom: #5b2fc1; $custom-light: #946dd5; $custom-dark: #000000;
JSON
{
"hex": "#5b2fc1",
"rgb": {
"r": 91,
"g": 47,
"b": 193
},
"hsl": {
"h": 258.082,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.45682,
"c": 0.20975,
"h": 289
},
"luminance": 0.08107
}Semantic roles & 50–950 ramp
primary
#5B2FC1
secondary
#B5CC80
accent
#E444B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83