#513BAC#513BAC
#513BAC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.5% C 0.172 H 286.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #513BAC |
|---|---|
| RGB | rgb(81, 59, 172) |
| HSL | hsl(252, 49%, 45%) |
| HSV | hsv(252, 66%, 67%) |
| CMYK | cmyk(52.9%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.68, 39.46, -57.45) |
| CIE-LCH | lch(33.68, 69.70, 304.49°) |
| OKLab | oklab(44.51% 0.0475 -0.1649) |
| OKLCH | oklch(44.51% 0.172 286.1) |
| XYZ | xyz(12.4015, 7.8552, 39.8845) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.39
Blue With A Hint Of Purple
#533CC6
ΔE00 3.71
Blurple
#5539CC
ΔE00 4.51
Blueberry
#464196
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 4.86
Darkslateblue
#483D8B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513BAC #96AC3B
analogous
#3B5EAC #513BAC #893BAC
triadic
#513BAC #AC513B #3BAC51
tetradic
#513BAC #AC3B5E #96AC3B #3BAC89
square
#513BAC #AC3B5E #96AC3B #3BAC89
split-complementary
#513BAC #AC893B #5EAC3B
monochromatic
#261C51 #3C2B7E #513BAC #725DC7 #998AD7
Accessibility & contrast
On white
8.17
#513BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#513BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513BAC
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513BAC | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#2D576E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #513bac; /* rgb */ color: rgb(81, 59, 172); /* oklch */ color: oklch(44.5% 0.172 286.1);
Tailwind
colors: {
custom: {
50: '#8a72c6',
500: '#513bac',
950: '#000000',
},
}SCSS
$custom: #513bac; $custom-light: #8a72c6; $custom-dark: #000000;
JSON
{
"hex": "#513bac",
"rgb": {
"r": 81,
"g": 59,
"b": 172
},
"hsl": {
"h": 251.681,
"s": 48.918,
"l": 45.294
},
"oklch": {
"l": 0.44512,
"c": 0.17158,
"h": 286.1
},
"luminance": 0.07856
}Semantic roles & 50–950 ramp
primary
#513BAC
secondary
#B5C181
accent
#D84FBE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82