#5C2FC1#5C2FC1
#5C2FC1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.210 H 289.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2FC1 |
|---|---|
| RGB | rgb(92, 47, 193) |
| HSL | hsl(258, 61%, 47%) |
| HSV | hsv(258, 76%, 76%) |
| CMYK | cmyk(52.3%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(34.31, 53.67, -68.81) |
| CIE-LCH | lch(34.31, 87.26, 307.95°) |
| OKLab | oklab(45.78% 0.0697 -0.1978) |
| OKLCH | oklch(45.78% 0.21 289.4) |
| XYZ | xyz(15.0530, 8.1579, 51.2232) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.60
Blurple
#5539CC
ΔE00 2.89
Blue With A Hint Of Purple
#533CC6
ΔE00 3.28
Bluey Purple
#6241C7
ΔE00 4.21
Violet Blue
#510AC9
ΔE00 4.85
Burple
#6832E3
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2FC1 #94C12F
analogous
#2F4BC1 #5C2FC1 #A52FC1
triadic
#5C2FC1 #C15C2F #2FC15C
tetradic
#5C2FC1 #C12F4B #94C12F #2FC1A5
square
#5C2FC1 #C12F4B #94C12F #2FC1A5
split-complementary
#5C2FC1 #C1A52F #4BC12F
monochromatic
#2D175F #452390 #5C2FC1 #7E57D6 #A488E2
Accessibility & contrast
On white
7.98
#5C2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5C2FC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2FC1
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2FC1 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#365876
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5c2fc1; /* rgb */ color: rgb(92, 47, 193); /* oklch */ color: oklch(45.8% 0.210 289.4);
Tailwind
colors: {
custom: {
50: '#946dd5',
500: '#5c2fc1',
950: '#000000',
},
}SCSS
$custom: #5c2fc1; $custom-light: #946dd5; $custom-dark: #000000;
JSON
{
"hex": "#5c2fc1",
"rgb": {
"r": 92,
"g": 47,
"b": 193
},
"hsl": {
"h": 258.493,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.45781,
"c": 0.20972,
"h": 289.4
},
"luminance": 0.08159
}Semantic roles & 50–950 ramp
primary
#5C2FC1
secondary
#B4CC80
accent
#E444B3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83