#503BAC#503BAC
#503BAC is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.172 H 285.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #503BAC |
|---|---|
| RGB | rgb(80, 59, 172) |
| HSL | hsl(251, 49%, 45%) |
| HSV | hsv(251, 66%, 67%) |
| CMYK | cmyk(53.5%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.59, 39.28, -57.60) |
| CIE-LCH | lch(33.59, 69.72, 304.29°) |
| OKLab | oklab(44.42% 0.0461 -0.1654) |
| OKLCH | oklch(44.42% 0.172 285.6) |
| XYZ | xyz(12.3164, 7.8113, 39.8805) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.34
Blue With A Hint Of Purple
#533CC6
ΔE00 3.72
Blurple
#5539CC
ΔE00 4.53
Blueberry
#464196
ΔE00 4.60
Bluey Purple
#6241C7
ΔE00 4.94
Darkslateblue
#483D8B
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#503BAC #97AC3B
analogous
#3B5FAC #503BAC #883BAC
triadic
#503BAC #AC503B #3BAC50
tetradic
#503BAC #AC3B5F #97AC3B #3BAC88
square
#503BAC #AC3B5F #97AC3B #3BAC88
split-complementary
#503BAC #AC883B #5FAC3B
monochromatic
#261C51 #3B2B7E #503BAC #715DC7 #998AD7
Accessibility & contrast
On white
8.20
#503BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#503BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #503BAC
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##503BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##503BAC | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#2A576E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #503bac; /* rgb */ color: rgb(80, 59, 172); /* oklch */ color: oklch(44.4% 0.172 285.6);
Tailwind
colors: {
custom: {
50: '#8a72c6',
500: '#503bac',
950: '#000000',
},
}SCSS
$custom: #503bac; $custom-light: #8a72c6; $custom-dark: #000000;
JSON
{
"hex": "#503bac",
"rgb": {
"r": 80,
"g": 59,
"b": 172
},
"hsl": {
"h": 251.15,
"s": 48.918,
"l": 45.294
},
"oklch": {
"l": 0.44422,
"c": 0.17166,
"h": 285.6
},
"luminance": 0.07812
}Semantic roles & 50–950 ramp
primary
#503BAC
secondary
#B6C181
accent
#D84FBF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82