#503CB2#503CB2
#503CB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.178 H 284.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #503CB2 |
|---|---|
| RGB | rgb(80, 60, 178) |
| HSL | hsl(250, 50%, 47%) |
| HSV | hsv(250, 66%, 70%) |
| CMYK | cmyk(55.1%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(34.30, 40.55, -60.02) |
| CIE-LCH | lch(34.30, 72.43, 304.04°) |
| OKLab | oklab(45.09% 0.0444 -0.1725) |
| OKLCH | oklch(45.09% 0.178 284.4) |
| XYZ | xyz(12.9576, 8.1508, 43.0013) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.73
Blue With A Hint Of Purple
#533CC6
ΔE00 2.83
Blurple
#5539CC
ΔE00 3.70
Bluey Purple
#6241C7
ΔE00 4.24
Blueberry
#464196
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503CB2 #9EB23C
analogous
#3C63B2 #503CB2 #8B3CB2
triadic
#503CB2 #B2503C #3CB250
tetradic
#503CB2 #B23C63 #9EB23C #3CB28B
square
#503CB2 #B23C63 #9EB23C #3CB28B
split-complementary
#503CB2 #B28B3C #63B23C
monochromatic
#271D56 #3B2D84 #503CB2 #7361CA #9C8FD9
Accessibility & contrast
On white
7.98
#503CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#503CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503CB2
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503CB2 | 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)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#245A72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #503cb2; /* rgb */ color: rgb(80, 60, 178); /* oklch */ color: oklch(45.1% 0.178 284.4);
Tailwind
colors: {
custom: {
50: '#8b73ca',
500: '#503cb2',
950: '#000000',
},
}SCSS
$custom: #503cb2; $custom-light: #8b73ca; $custom-dark: #000000;
JSON
{
"hex": "#503cb2",
"rgb": {
"r": 80,
"g": 60,
"b": 178
},
"hsl": {
"h": 250.169,
"s": 49.58,
"l": 46.667
},
"oklch": {
"l": 0.45088,
"c": 0.1781,
"h": 284.4
},
"luminance": 0.08152
}Semantic roles & 50–950 ramp
primary
#503CB2
secondary
#BAC486
accent
#D94FC2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82