#513191#513191
#513191 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.150 H 294.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #513191 |
|---|---|
| RGB | rgb(81, 49, 145) |
| HSL | hsl(260, 49%, 38%) |
| HSV | hsv(260, 66%, 57%) |
| CMYK | cmyk(44.1%, 66.2%, 0%, 43.1%) |
| CIE-LAB | lab(29.39, 37.23, -48.06) |
| CIE-LCH | lch(29.39, 60.80, 307.76°) |
| OKLab | oklab(40.74% 0.0612 -0.1373) |
| OKLCH | oklch(40.74% 0.15 294) |
| XYZ | xyz(9.6011, 5.9900, 27.4329) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.05
Darkslateblue
#483D8B
ΔE00 4.57
Blueberry
#464196
ΔE00 5.72
Ocean Blue
#4F42B5
ΔE00 7.19
Indigo Blue
#3A18B1
ΔE00 7.57
Indigo
#4B0082
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513191 #719131
analogous
#314191 #513191 #813191
triadic
#513191 #915131 #319151
tetradic
#513191 #913141 #719131 #319181
square
#513191 #913141 #719131 #319181
split-complementary
#513191 #918131 #419131
monochromatic
#1E1236 #372263 #513191 #6B41BF #8E6ECE
Accessibility & contrast
On white
9.55
#513191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#513191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513191
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513191 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#3F485C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #513191; /* rgb */ color: rgb(81, 49, 145); /* oklch */ color: oklch(40.7% 0.150 294.0);
Tailwind
colors: {
custom: {
50: '#876bb2',
500: '#513191',
950: '#000000',
},
}SCSS
$custom: #513191; $custom-light: #876bb2; $custom-dark: #000000;
JSON
{
"hex": "#513191",
"rgb": {
"r": 81,
"g": 49,
"b": 145
},
"hsl": {
"h": 260,
"s": 49.485,
"l": 38.039
},
"oklch": {
"l": 0.40736,
"c": 0.15031,
"h": 294
},
"luminance": 0.0599
}Semantic roles & 50–950 ramp
primary
#513191
secondary
#9CB668
accent
#D94FAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80