#513091#513091
#513091 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.152 H 294.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #513091 |
|---|---|
| RGB | rgb(81, 48, 145) |
| HSL | hsl(260, 50%, 38%) |
| HSV | hsv(260, 67%, 57%) |
| CMYK | cmyk(44.1%, 66.9%, 0%, 43.1%) |
| CIE-LAB | lab(29.18, 37.80, -48.41) |
| CIE-LCH | lch(29.18, 61.41, 307.98°) |
| OKLab | oklab(40.58% 0.0623 -0.1383) |
| OKLCH | oklch(40.58% 0.152 294.3) |
| XYZ | xyz(9.5597, 5.9073, 27.4191) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.05
Darkslateblue
#483D8B
ΔE00 4.81
Blueberry
#464196
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 7.33
Indigo Blue
#3A18B1
ΔE00 7.41
Indigo
#4B0082
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513091 #709130
analogous
#304091 #513091 #813091
triadic
#513091 #915130 #309151
tetradic
#513091 #913040 #709130 #309181
square
#513091 #913040 #709130 #309181
split-complementary
#513091 #918130 #409130
monochromatic
#1E1235 #372163 #513091 #6B3FBF #8E6DCF
Accessibility & contrast
On white
9.63
#513091 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#513091 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513091
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513091 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#3F475C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #513091; /* rgb */ color: rgb(81, 48, 145); /* oklch */ color: oklch(40.6% 0.152 294.3);
Tailwind
colors: {
custom: {
50: '#876ab2',
500: '#513091',
950: '#000000',
},
}SCSS
$custom: #513091; $custom-light: #876ab2; $custom-dark: #000000;
JSON
{
"hex": "#513091",
"rgb": {
"r": 81,
"g": 48,
"b": 145
},
"hsl": {
"h": 260.412,
"s": 50.259,
"l": 37.843
},
"oklch": {
"l": 0.40584,
"c": 0.15169,
"h": 294.3
},
"luminance": 0.05908
}Semantic roles & 50–950 ramp
primary
#513091
secondary
#9BB667
accent
#DA4EAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80