#513E89#513E89
#513E89 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.3% C 0.120 H 292.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #513E89 |
|---|---|
| RGB | rgb(81, 62, 137) |
| HSL | hsl(255, 38%, 39%) |
| HSV | hsv(255, 55%, 54%) |
| CMYK | cmyk(40.9%, 54.7%, 0%, 46.3%) |
| CIE-LAB | lab(31.81, 27.03, -39.23) |
| CIE-LCH | lch(31.81, 47.64, 304.57°) |
| OKLab | oklab(42.33% 0.0453 -0.1113) |
| OKLCH | oklch(42.33% 0.12 292.1) |
| XYZ | xyz(9.6301, 7.0005, 24.5059) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.12
Blueberry
#464196
ΔE00 3.92
Rebeccapurple
#663399
ΔE00 6.11
Twilight
#4E518B
ΔE00 6.99
Ocean Blue
#4F42B5
ΔE00 7.50
Dusk
#4E5481
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513E89 #76893E
analogous
#3E5189 #513E89 #773E89
triadic
#513E89 #89513E #3E8951
tetradic
#513E89 #893E51 #76893E #3E8977
square
#513E89 #893E51 #76893E #3E8977
split-complementary
#513E89 #89773E #51893E
monochromatic
#1F1835 #382B5F #513E89 #6B53B1 #8F7DC4
Accessibility & contrast
On white
8.75
#513E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#513E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513E89
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513E89 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#204987
Tritanopia (blue-blind)
#424E5D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #513e89; /* rgb */ color: rgb(81, 62, 137); /* oklch */ color: oklch(42.3% 0.120 292.1);
Tailwind
colors: {
custom: {
50: '#8574ac',
500: '#513e89',
950: '#000000',
},
}SCSS
$custom: #513e89; $custom-light: #8574ac; $custom-dark: #000000;
JSON
{
"hex": "#513e89",
"rgb": {
"r": 81,
"g": 62,
"b": 137
},
"hsl": {
"h": 255.2,
"s": 37.688,
"l": 39.02
},
"oklch": {
"l": 0.42328,
"c": 0.12018,
"h": 292.1
},
"luminance": 0.07001
}Semantic roles & 50–950 ramp
primary
#513E89
secondary
#A0AE74
accent
#CE5AB0
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0810
muted
#7C7B7F