#5F49CB#5F49CB
#5F49CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.192 H 284.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5F49CB |
|---|---|
| RGB | rgb(95, 73, 203) |
| HSL | hsl(250, 56%, 54%) |
| HSV | hsv(250, 64%, 80%) |
| CMYK | cmyk(53.2%, 64%, 0%, 20.4%) |
| CIE-LAB | lab(40.42, 43.27, -64.63) |
| CIE-LCH | lch(40.42, 77.78, 303.81°) |
| OKLab | oklab(50.48% 0.0495 -0.1855) |
| OKLCH | oklch(50.48% 0.192 284.9) |
| XYZ | xyz(17.8781, 11.5088, 57.7677) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.26
Blue With A Hint Of Purple
#533CC6
ΔE00 3.76
Blurple
#5539CC
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 4.35
Iris
#6258C4
ΔE00 4.45
Purpleish Blue
#6140EF
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F49CB #B5CB49
analogous
#4974CB #5F49CB #A049CB
triadic
#5F49CB #CB5F49 #49CB5F
tetradic
#5F49CB #CB4974 #B5CB49 #49CBA0
square
#5F49CB #CB4974 #B5CB49 #49CBA0
split-complementary
#5F49CB #CBA049 #74CB49
monochromatic
#312277 #4430A7 #5F49CB #8979D9 #B3A8E6
Accessibility & contrast
On white
6.36
#5F49CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5F49CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F49CB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F49CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F49CB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#326983
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5f49cb; /* rgb */ color: rgb(95, 73, 203); /* oklch */ color: oklch(50.5% 0.192 284.9);
Tailwind
colors: {
custom: {
50: '#967ddc',
500: '#5f49cb',
950: '#000000',
},
}SCSS
$custom: #5f49cb; $custom-light: #967ddc; $custom-dark: #000000;
JSON
{
"hex": "#5f49cb",
"rgb": {
"r": 95,
"g": 73,
"b": 203
},
"hsl": {
"h": 250.154,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.50477,
"c": 0.192,
"h": 284.9
},
"luminance": 0.1151
}Semantic roles & 50–950 ramp
primary
#5F49CB
secondary
#CAD49C
accent
#DF49C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83