#513AC0#513AC0
#513AC0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.198 H 283.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #513AC0 |
|---|---|
| RGB | rgb(81, 58, 192) |
| HSL | hsl(250, 54%, 49%) |
| HSV | hsv(250, 70%, 75%) |
| CMYK | cmyk(57.8%, 69.8%, 0%, 24.7%) |
| CIE-LAB | lab(35.16, 46.13, -66.86) |
| CIE-LCH | lch(35.16, 81.23, 304.60°) |
| OKLab | oklab(46.1% 0.0454 -0.1925) |
| OKLCH | oklch(46.1% 0.198 283.3) |
| XYZ | xyz(14.4179, 8.5803, 50.7554) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.02
Blurple
#5539CC
ΔE00 1.72
Ocean Blue
#4F42B5
ΔE00 2.65
Bluey Purple
#6241C7
ΔE00 3.22
Purple Blue
#5D21D0
ΔE00 4.93
Purpley Blue
#5F34E7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513AC0 #A9C03A
analogous
#3A66C0 #513AC0 #943AC0
triadic
#513AC0 #C0513A #3AC051
tetradic
#513AC0 #C03A66 #A9C03A #3AC094
square
#513AC0 #C03A66 #A9C03A #3AC094
split-complementary
#513AC0 #C0943A #66C03A
monochromatic
#291E62 #3D2C91 #513AC0 #7966D1 #A295DF
Accessibility & contrast
On white
7.73
#513AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#513AC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513AC0
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513AC0 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#115E79
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #513ac0; /* rgb */ color: rgb(81, 58, 192); /* oklch */ color: oklch(46.1% 0.198 283.3);
Tailwind
colors: {
custom: {
50: '#8e72d4',
500: '#513ac0',
950: '#000000',
},
}SCSS
$custom: #513ac0; $custom-light: #8e72d4; $custom-dark: #000000;
JSON
{
"hex": "#513ac0",
"rgb": {
"r": 81,
"g": 58,
"b": 192
},
"hsl": {
"h": 250.299,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.46103,
"c": 0.19778,
"h": 283.3
},
"luminance": 0.08581
}Semantic roles & 50–950 ramp
primary
#513AC0
secondary
#C0CA8B
accent
#DD4BC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83