#513CB9#513CB9
#513CB9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.187 H 283.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #513CB9 |
|---|---|
| RGB | rgb(81, 60, 185) |
| HSL | hsl(250, 51%, 48%) |
| HSV | hsv(250, 68%, 73%) |
| CMYK | cmyk(56.2%, 67.6%, 0%, 27.5%) |
| CIE-LAB | lab(34.97, 42.87, -63.06) |
| CIE-LCH | lch(34.97, 76.25, 304.21°) |
| OKLab | oklab(45.78% 0.0448 -0.1814) |
| OKLCH | oklch(45.78% 0.187 283.9) |
| XYZ | xyz(13.7635, 8.4830, 46.8017) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.80
Blue With A Hint Of Purple
#533CC6
ΔE00 1.82
Blurple
#5539CC
ΔE00 2.71
Bluey Purple
#6241C7
ΔE00 3.49
Purple Blue
#5D21D0
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513CB9 #A4B93C
analogous
#3C65B9 #513CB9 #8F3CB9
triadic
#513CB9 #B9513C #3CB951
tetradic
#513CB9 #B93C65 #A4B93C #3CB98F
square
#513CB9 #B93C65 #A4B93C #3CB98F
split-complementary
#513CB9 #B98F3C #65B93C
monochromatic
#291E5D #3D2D8B #513CB9 #7765CD #A093DC
Accessibility & contrast
On white
7.79
#513CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#513CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513CB9
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513CB9 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#1E5C75
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #513cb9; /* rgb */ color: rgb(81, 60, 185); /* oklch */ color: oklch(45.8% 0.187 283.9);
Tailwind
colors: {
custom: {
50: '#8c73cf',
500: '#513cb9',
950: '#000000',
},
}SCSS
$custom: #513cb9; $custom-light: #8c73cf; $custom-dark: #000000;
JSON
{
"hex": "#513cb9",
"rgb": {
"r": 81,
"g": 60,
"b": 185
},
"hsl": {
"h": 250.08,
"s": 51.02,
"l": 48.039
},
"oklch": {
"l": 0.45777,
"c": 0.18682,
"h": 283.9
},
"luminance": 0.08484
}Semantic roles & 50–950 ramp
primary
#513CB9
secondary
#BDC789
accent
#DA4DC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82