#5F3FC2#5F3FC2
#5F3FC2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.193 H 288.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FC2 |
|---|---|
| RGB | rgb(95, 63, 194) |
| HSL | hsl(255, 52%, 50%) |
| HSV | hsv(255, 68%, 76%) |
| CMYK | cmyk(51%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(37.63, 46.24, -63.95) |
| CIE-LCH | lch(37.63, 78.91, 305.87°) |
| OKLab | oklab(48.24% 0.0602 -0.1835) |
| OKLCH | oklch(48.24% 0.193 288.1) |
| XYZ | xyz(16.2316, 9.8822, 52.0807) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.99
Blue With A Hint Of Purple
#533CC6
ΔE00 2.00
Blurple
#5539CC
ΔE00 2.33
Ocean Blue
#4F42B5
ΔE00 3.33
Burple
#6832E3
ΔE00 4.78
Purpley Blue
#5F34E7
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FC2 #A2C23F
analogous
#3F61C2 #5F3FC2 #A03FC2
triadic
#5F3FC2 #C25F3F #3FC25F
tetradic
#5F3FC2 #C23F61 #A2C23F #3FC2A0
square
#5F3FC2 #C23F61 #A2C23F #3FC2A0
split-complementary
#5F3FC2 #C2A03F #61C23F
monochromatic
#312066 #482F95 #5F3FC2 #866DD1 #AC9CE0
Accessibility & contrast
On white
7.06
#5F3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#5F3FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F3FC2
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FC2 | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#3B607B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5f3fc2; /* rgb */ color: rgb(95, 63, 194); /* oklch */ color: oklch(48.2% 0.193 288.1);
Tailwind
colors: {
custom: {
50: '#9576d5',
500: '#5f3fc2',
950: '#000000',
},
}SCSS
$custom: #5f3fc2; $custom-light: #9576d5; $custom-dark: #000000;
JSON
{
"hex": "#5f3fc2",
"rgb": {
"r": 95,
"g": 63,
"b": 194
},
"hsl": {
"h": 254.656,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.48236,
"c": 0.19312,
"h": 288.1
},
"luminance": 0.09883
}Semantic roles & 50–950 ramp
primary
#5F3FC2
secondary
#BDCC91
accent
#DB4DB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83