#503C73#503C73
#503C73 is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.4% C 0.092 H 299.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #503C73 |
|---|---|
| RGB | rgb(80, 60, 115) |
| HSL | hsl(262, 31%, 34%) |
| HSV | hsv(262, 48%, 45%) |
| CMYK | cmyk(30.4%, 47.8%, 0%, 54.9%) |
| CIE-LAB | lab(29.85, 21.66, -28.61) |
| CIE-LCH | lch(29.85, 35.89, 307.12°) |
| OKLab | oklab(40.41% 0.0445 -0.0803) |
| OKLCH | oklch(40.41% 0.092 299) |
| XYZ | xyz(8.0179, 6.1749, 16.9858) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.14
Blueberry
#464196
ΔE00 8.21
Twilight
#4E518B
ΔE00 8.53
Rebeccapurple
#663399
ΔE00 8.97
Dusk
#4E5481
ΔE00 9.33
Grape
#6C3461
ΔE00 10.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503C73 #5F733C
analogous
#3C4473 #503C73 #6C3C73
triadic
#503C73 #73503C #3C7350
tetradic
#503C73 #733C44 #5F733C #3C736C
square
#503C73 #733C44 #5F733C #3C736C
split-complementary
#503C73 #736C3C #44733C
monochromatic
#181223 #34274B #503C73 #6C519B #8C73B6
Accessibility & contrast
On white
9.40
#503C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#503C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503C73
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503C73 | 1.00 | 9.40 | 2.24 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#494652
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #503c73; /* rgb */ color: rgb(80, 60, 115); /* oklch */ color: oklch(40.4% 0.092 299.0);
Tailwind
colors: {
custom: {
50: '#83729b',
500: '#503c73',
950: '#000000',
},
}SCSS
$custom: #503c73; $custom-light: #83729b; $custom-dark: #000000;
JSON
{
"hex": "#503c73",
"rgb": {
"r": 80,
"g": 60,
"b": 115
},
"hsl": {
"h": 261.818,
"s": 31.429,
"l": 34.314
},
"oklch": {
"l": 0.40405,
"c": 0.0918,
"h": 299
},
"luminance": 0.06175
}Semantic roles & 50–950 ramp
primary
#503C73
secondary
#8DA06B
accent
#C860A2
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B080E
muted
#7C7B7E