#503C92#503C92
#503C92 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.5% C 0.136 H 290.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #503C92 |
|---|---|
| RGB | rgb(80, 60, 146) |
| HSL | hsl(254, 42%, 40%) |
| HSV | hsv(254, 59%, 57%) |
| CMYK | cmyk(45.2%, 58.9%, 0%, 42.7%) |
| CIE-LAB | lab(31.83, 30.73, -44.72) |
| CIE-LCH | lch(31.83, 54.26, 304.49°) |
| OKLab | oklab(42.52% 0.0467 -0.1275) |
| OKLCH | oklch(42.52% 0.136 290.1) |
| XYZ | xyz(10.1110, 7.0122, 28.0093) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.08
Blueberry
#464196
ΔE00 3.04
Rebeccapurple
#663399
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.82
Sapphire (survey)
#2138AB
ΔE00 7.74
Twilight
#4E518B
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503C92 #7E923C
analogous
#3C5392 #503C92 #7B3C92
triadic
#503C92 #92503C #3C9250
tetradic
#503C92 #923C53 #7E923C #3C927B
square
#503C92 #923C53 #7E923C #3C927B
split-complementary
#503C92 #927B3C #53923C
monochromatic
#20183B #382A67 #503C92 #6A53B8 #907ECA
Accessibility & contrast
On white
8.74
#503C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#503C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503C92
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503C92 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034C95
Deuteranopia (green-blind)
#094990
Tritanopia (blue-blind)
#3C4F61
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #503c92; /* rgb */ color: rgb(80, 60, 146); /* oklch */ color: oklch(42.5% 0.136 290.1);
Tailwind
colors: {
custom: {
50: '#8672b3',
500: '#503c92',
950: '#000000',
},
}SCSS
$custom: #503c92; $custom-light: #8672b3; $custom-dark: #000000;
JSON
{
"hex": "#503c92",
"rgb": {
"r": 80,
"g": 60,
"b": 146
},
"hsl": {
"h": 253.953,
"s": 41.748,
"l": 40.392
},
"oklch": {
"l": 0.4252,
"c": 0.13577,
"h": 290.1
},
"luminance": 0.07013
}Semantic roles & 50–950 ramp
primary
#503C92
secondary
#A5B476
accent
#D256B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80