#503F82#503F82
#503F82 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.108 H 292.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #503F82 |
|---|---|
| RGB | rgb(80, 63, 130) |
| HSL | hsl(255, 35%, 38%) |
| HSV | hsv(255, 52%, 51%) |
| CMYK | cmyk(38.5%, 51.5%, 0%, 49%) |
| CIE-LAB | lab(31.51, 24.05, -35.37) |
| CIE-LCH | lch(31.51, 42.77, 304.22°) |
| OKLab | oklab(41.94% 0.0421 -0.1) |
| OKLCH | oklch(41.94% 0.109 292.8) |
| XYZ | xyz(9.1140, 6.8720, 21.9610) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.01
Blueberry
#464196
ΔE00 4.93
Twilight
#4E518B
ΔE00 6.60
Rebeccapurple
#663399
ΔE00 7.23
Dusk
#4E5481
ΔE00 8.24
Ocean Blue
#4F42B5
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503F82 #71823F
analogous
#3F4F82 #503F82 #713F82
triadic
#503F82 #82503F #3F8250
tetradic
#503F82 #823F4F #71823F #3F8271
square
#503F82 #823F4F #71823F #3F8271
split-complementary
#503F82 #82713F #4F823F
monochromatic
#1D1730 #372B59 #503F82 #6953AB #8D7CBF
Accessibility & contrast
On white
8.84
#503F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#503F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503F82
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503F82 | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#444C5A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #503f82; /* rgb */ color: rgb(80, 63, 130); /* oklch */ color: oklch(41.9% 0.108 292.8);
Tailwind
colors: {
custom: {
50: '#8474a7',
500: '#503f82',
950: '#000000',
},
}SCSS
$custom: #503f82; $custom-light: #8474a7; $custom-dark: #000000;
JSON
{
"hex": "#503f82",
"rgb": {
"r": 80,
"g": 63,
"b": 130
},
"hsl": {
"h": 255.224,
"s": 34.715,
"l": 37.843
},
"oklch": {
"l": 0.41941,
"c": 0.1085,
"h": 292.8
},
"luminance": 0.06872
}Semantic roles & 50–950 ramp
primary
#503F82
secondary
#9CAA73
accent
#CB5DAF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F