#5F3DCD#5F3DCD
#5F3DCD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.209 H 286.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3DCD |
|---|---|
| RGB | rgb(95, 61, 205) |
| HSL | hsl(254, 59%, 52%) |
| HSV | hsv(254, 70%, 80%) |
| CMYK | cmyk(53.7%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(38.16, 50.49, -69.48) |
| CIE-LCH | lch(38.16, 85.89, 306.00°) |
| OKLab | oklab(48.9% 0.0601 -0.1998) |
| OKLCH | oklch(48.9% 0.209 286.7) |
| XYZ | xyz(17.4042, 10.1772, 58.7931) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.26
Blurple
#5539CC
ΔE00 1.71
Blue With A Hint Of Purple
#533CC6
ΔE00 2.04
Purpley Blue
#5F34E7
ΔE00 3.38
Burple
#6832E3
ΔE00 3.39
Bluish Purple
#703BE7
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3DCD #ABCD3D
analogous
#3D63CD #5F3DCD #A73DCD
triadic
#5F3DCD #CD5F3D #3DCD5F
tetradic
#5F3DCD #CD3D63 #ABCD3D #3DCDA7
square
#5F3DCD #CD3D63 #ABCD3D #3DCDA7
split-complementary
#5F3DCD #CDA73D #63CD3D
monochromatic
#311D72 #472AA3 #5F3DCD #876EDA #AF9EE6
Accessibility & contrast
On white
6.92
#5F3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#5F3DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3DCD
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3DCD | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#316381
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5f3dcd; /* rgb */ color: rgb(95, 61, 205); /* oklch */ color: oklch(48.9% 0.209 286.7);
Tailwind
colors: {
custom: {
50: '#9775dd',
500: '#5f3dcd',
950: '#000000',
},
}SCSS
$custom: #5f3dcd; $custom-light: #9775dd; $custom-dark: #000000;
JSON
{
"hex": "#5f3dcd",
"rgb": {
"r": 95,
"g": 61,
"b": 205
},
"hsl": {
"h": 254.167,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.48898,
"c": 0.20859,
"h": 286.7
},
"luminance": 0.10178
}Semantic roles & 50–950 ramp
primary
#5F3DCD
secondary
#C3D293
accent
#E246BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83