#5C2FC9#5C2FC9
#5C2FC9 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.219 H 288.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2FC9 |
|---|---|
| RGB | rgb(92, 47, 201) |
| HSL | hsl(258, 62%, 49%) |
| HSV | hsv(258, 77%, 79%) |
| CMYK | cmyk(54.2%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(35.05, 55.85, -72.27) |
| CIE-LCH | lch(35.05, 91.33, 307.70°) |
| OKLab | oklab(46.53% 0.0676 -0.2079) |
| OKLCH | oklch(46.53% 0.219 288) |
| XYZ | xyz(15.9696, 8.5246, 56.0509) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.14
Blurple
#5539CC
ΔE00 2.34
Blue With A Hint Of Purple
#533CC6
ΔE00 3.04
Bluey Purple
#6241C7
ΔE00 3.95
Burple
#6832E3
ΔE00 4.02
Purpley Blue
#5F34E7
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2FC9 #9CC92F
analogous
#2F4FC9 #5C2FC9 #A92FC9
triadic
#5C2FC9 #C95C2F #2FC95C
tetradic
#5C2FC9 #C92F4F #9CC92F #2FC9A9
square
#5C2FC9 #C92F4F #9CC92F #2FC9A9
split-complementary
#5C2FC9 #C9A92F #4FC92F
monochromatic
#2F1866 #452397 #5C2FC9 #815CD9 #A78EE5
Accessibility & contrast
On white
7.76
#5C2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#5C2FC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2FC9
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2FC9 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#2E5B7B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5c2fc9; /* rgb */ color: rgb(92, 47, 201); /* oklch */ color: oklch(46.5% 0.219 288.0);
Tailwind
colors: {
custom: {
50: '#966ddb',
500: '#5c2fc9',
950: '#000000',
},
}SCSS
$custom: #5c2fc9; $custom-light: #966ddb; $custom-dark: #000000;
JSON
{
"hex": "#5c2fc9",
"rgb": {
"r": 92,
"g": 47,
"b": 201
},
"hsl": {
"h": 257.532,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.46526,
"c": 0.21862,
"h": 288
},
"luminance": 0.08525
}Semantic roles & 50–950 ramp
primary
#5C2FC9
secondary
#B9CF85
accent
#E543B6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83