#503A5C#503A5C
#503A5C is a dark, moderate violet. Relative luminance 0.055; OKLCH L 38.7% C 0.062 H 313.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #503A5C |
|---|---|
| RGB | rgb(80, 58, 92) |
| HSL | hsl(279, 23%, 29%) |
| HSV | hsv(279, 37%, 36%) |
| CMYK | cmyk(13%, 37%, 0%, 63.9%) |
| CIE-LAB | lab(28.13, 16.89, -16.59) |
| CIE-LCH | lch(28.13, 23.67, 315.52°) |
| OKLab | oklab(38.71% 0.0427 -0.0456) |
| OKLCH | oklch(38.71% 0.062 313.2) |
| XYZ | xyz(6.7528, 5.5044, 10.8299) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Grape
#6C3461
ΔE00 8.17
Dirty Purple
#734A65
ΔE00 9.58
Bruise
#7E4071
ΔE00 10.99
Grape Purple
#5D1451
ΔE00 11.42
Dusk
#4E5481
ΔE00 12.40
Darkslateblue
#483D8B
ΔE00 12.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503A5C #465C3A
analogous
#3F3A5C #503A5C #5C3A57
triadic
#503A5C #5C503A #3A5C50
tetradic
#503A5C #5C3F3A #465C3A #3A575C
square
#503A5C #5C3F3A #465C3A #3A575C
split-complementary
#503A5C #575C3A #3A5C3F
monochromatic
#100C13 #2F2236 #503A5C #715282 #906DA3
Accessibility & contrast
On white
10.00
#503A5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#503A5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503A5C
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503A5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503A5C | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#39435B
Tritanopia (blue-blind)
#4F3E47
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #503a5c; /* rgb */ color: rgb(80, 58, 92); /* oklch */ color: oklch(38.7% 0.062 313.2);
Tailwind
colors: {
custom: {
50: '#81708a',
500: '#503a5c',
950: '#000000',
},
}SCSS
$custom: #503a5c; $custom-light: #81708a; $custom-dark: #000000;
JSON
{
"hex": "#503a5c",
"rgb": {
"r": 80,
"g": 58,
"b": 92
},
"hsl": {
"h": 278.824,
"s": 22.667,
"l": 29.412
},
"oklch": {
"l": 0.38711,
"c": 0.06247,
"h": 313.2
},
"luminance": 0.05504
}Semantic roles & 50–950 ramp
primary
#503A5C
secondary
#738C66
accent
#BF6987
background
#F7F6F8
surface
#EEECF0
border
#C9C7CB
text
#0A070B
muted
#7C7A7C