#502CBD#502CBD
#502CBD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.209 H 285.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #502CBD |
|---|---|
| RGB | rgb(80, 44, 189) |
| HSL | hsl(255, 62%, 46%) |
| HSV | hsv(255, 77%, 74%) |
| CMYK | cmyk(57.7%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(32.21, 52.36, -69.94) |
| CIE-LCH | lch(32.21, 87.37, 306.82°) |
| OKLab | oklab(43.91% 0.0552 -0.2015) |
| OKLCH | oklch(43.91% 0.209 285.3) |
| XYZ | xyz(13.3915, 7.1802, 48.8145) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.20
Blurple
#5539CC
ΔE00 3.67
Blue With A Hint Of Purple
#533CC6
ΔE00 3.84
Violet Blue
#510AC9
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502CBD #99BD2C
analogous
#2C50BD #502CBD #992CBD
triadic
#502CBD #BD502C #2CBD50
tetradic
#502CBD #BD2C50 #99BD2C #2CBD99
square
#502CBD #BD2C50 #99BD2C #2CBD99
split-complementary
#502CBD #BD992C #50BD2C
monochromatic
#26155A #3B208B #502CBD #7150D6 #9982E2
Accessibility & contrast
On white
8.62
#502CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#502CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502CBD
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502CBD | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#165673
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #502cbd; /* rgb */ color: rgb(80, 44, 189); /* oklch */ color: oklch(43.9% 0.209 285.3);
Tailwind
colors: {
custom: {
50: '#8e6ad2',
500: '#502cbd',
950: '#000000',
},
}SCSS
$custom: #502cbd; $custom-light: #8e6ad2; $custom-dark: #000000;
JSON
{
"hex": "#502cbd",
"rgb": {
"r": 80,
"g": 44,
"b": 189
},
"hsl": {
"h": 254.897,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.43909,
"c": 0.20888,
"h": 285.3
},
"luminance": 0.07181
}Semantic roles & 50–950 ramp
primary
#502CBD
secondary
#B7CB7A
accent
#E542BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83