#513AC2#513AC2
#513AC2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.3% C 0.200 H 283.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #513AC2 |
|---|---|
| RGB | rgb(81, 58, 194) |
| HSL | hsl(250, 54%, 49%) |
| HSV | hsv(250, 70%, 76%) |
| CMYK | cmyk(58.2%, 70.1%, 0%, 23.9%) |
| CIE-LAB | lab(35.34, 46.74, -67.74) |
| CIE-LCH | lch(35.34, 82.30, 304.60°) |
| OKLab | oklab(46.28% 0.0451 -0.1951) |
| OKLCH | oklch(46.28% 0.2 283) |
| XYZ | xyz(14.6410, 8.6695, 51.9304) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 0.80
Blurple
#5539CC
ΔE00 1.47
Ocean Blue
#4F42B5
ΔE00 2.80
Bluey Purple
#6241C7
ΔE00 3.13
Purple Blue
#5D21D0
ΔE00 4.84
Purpley Blue
#5F34E7
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513AC2 #ABC23A
analogous
#3A67C2 #513AC2 #953AC2
triadic
#513AC2 #C2513A #3AC251
tetradic
#513AC2 #C23A67 #ABC23A #3AC295
square
#513AC2 #C23A67 #ABC23A #3AC295
split-complementary
#513AC2 #C2953A #67C23A
monochromatic
#2A1E64 #3D2C93 #513AC2 #7967D2 #A397E0
Accessibility & contrast
On white
7.68
#513AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#513AC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513AC2
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513AC2 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#0C5E7A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #513ac2; /* rgb */ color: rgb(81, 58, 194); /* oklch */ color: oklch(46.3% 0.200 283.0);
Tailwind
colors: {
custom: {
50: '#8e72d6',
500: '#513ac2',
950: '#000000',
},
}SCSS
$custom: #513ac2; $custom-light: #8e72d6; $custom-dark: #000000;
JSON
{
"hex": "#513ac2",
"rgb": {
"r": 81,
"g": 58,
"b": 194
},
"hsl": {
"h": 250.147,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.46283,
"c": 0.20022,
"h": 283
},
"luminance": 0.0867
}Semantic roles & 50–950 ramp
primary
#513AC2
secondary
#C1CB8D
accent
#DD4AC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83