#513CB2#513CB2
#513CB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.178 H 284.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #513CB2 |
|---|---|
| RGB | rgb(81, 60, 178) |
| HSL | hsl(251, 50%, 47%) |
| HSV | hsv(251, 66%, 70%) |
| CMYK | cmyk(54.5%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(34.39, 40.72, -59.87) |
| CIE-LCH | lch(34.39, 72.41, 304.22°) |
| OKLab | oklab(45.18% 0.0458 -0.172) |
| OKLCH | oklch(45.18% 0.178 284.9) |
| XYZ | xyz(13.0427, 8.1947, 43.0053) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.78
Blue With A Hint Of Purple
#533CC6
ΔE00 2.81
Blurple
#5539CC
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 4.14
Blueberry
#464196
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513CB2 #9DB23C
analogous
#3C62B2 #513CB2 #8C3CB2
triadic
#513CB2 #B2513C #3CB251
tetradic
#513CB2 #B23C62 #9DB23C #3CB28C
square
#513CB2 #B23C62 #9DB23C #3CB28C
split-complementary
#513CB2 #B28C3C #62B23C
monochromatic
#271D56 #3C2D84 #513CB2 #7461CA #9C8FD9
Accessibility & contrast
On white
7.96
#513CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#513CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513CB2
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513CB2 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#275A72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #513cb2; /* rgb */ color: rgb(81, 60, 178); /* oklch */ color: oklch(45.2% 0.178 284.9);
Tailwind
colors: {
custom: {
50: '#8b73ca',
500: '#513cb2',
950: '#000000',
},
}SCSS
$custom: #513cb2; $custom-light: #8b73ca; $custom-dark: #000000;
JSON
{
"hex": "#513cb2",
"rgb": {
"r": 81,
"g": 60,
"b": 178
},
"hsl": {
"h": 250.678,
"s": 49.58,
"l": 46.667
},
"oklch": {
"l": 0.45175,
"c": 0.17798,
"h": 284.9
},
"luminance": 0.08195
}Semantic roles & 50–950 ramp
primary
#513CB2
secondary
#B9C486
accent
#D94FC0
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82