#513AB0#513AB0
#513AB0 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.178 H 285.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #513AB0 |
|---|---|
| RGB | rgb(81, 58, 176) |
| HSL | hsl(252, 50%, 46%) |
| HSV | hsv(252, 67%, 69%) |
| CMYK | cmyk(54%, 67%, 0%, 31%) |
| CIE-LAB | lab(33.79, 41.26, -59.65) |
| CIE-LCH | lch(33.79, 72.53, 304.68°) |
| OKLab | oklab(44.7% 0.0479 -0.1713) |
| OKLCH | oklch(44.7% 0.178 285.6) |
| XYZ | xyz(12.7405, 7.9093, 41.9212) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.36
Blue With A Hint Of Purple
#533CC6
ΔE00 3.15
Blurple
#5539CC
ΔE00 3.91
Bluey Purple
#6241C7
ΔE00 4.50
Blueberry
#464196
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513AB0 #99B03A
analogous
#3A5EB0 #513AB0 #8C3AB0
triadic
#513AB0 #B0513A #3AB051
tetradic
#513AB0 #B03A5E #99B03A #3AB08C
square
#513AB0 #B03A5E #99B03A #3AB08C
split-complementary
#513AB0 #B08C3A #5EB03A
monochromatic
#271C54 #3C2B82 #513AB0 #735DCA #9B8BD9
Accessibility & contrast
On white
8.13
#513AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#513AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513AB0
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513AB0 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#295870
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #513ab0; /* rgb */ color: rgb(81, 58, 176); /* oklch */ color: oklch(44.7% 0.178 285.6);
Tailwind
colors: {
custom: {
50: '#8b72c9',
500: '#513ab0',
950: '#000000',
},
}SCSS
$custom: #513ab0; $custom-light: #8b72c9; $custom-dark: #000000;
JSON
{
"hex": "#513ab0",
"rgb": {
"r": 81,
"g": 58,
"b": 176
},
"hsl": {
"h": 251.695,
"s": 50.427,
"l": 45.882
},
"oklch": {
"l": 0.44696,
"c": 0.17792,
"h": 285.6
},
"luminance": 0.0791
}Semantic roles & 50–950 ramp
primary
#513AB0
secondary
#B7C382
accent
#DA4EBF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82