#513685#513685
#513685 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.127 H 296.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #513685 |
|---|---|
| RGB | rgb(81, 54, 133) |
| HSL | hsl(261, 42%, 37%) |
| HSV | hsv(261, 59%, 52%) |
| CMYK | cmyk(39.1%, 59.4%, 0%, 47.8%) |
| CIE-LAB | lab(29.62, 30.81, -40.27) |
| CIE-LCH | lch(29.62, 50.71, 307.42°) |
| OKLab | oklab(40.62% 0.0558 -0.1144) |
| OKLCH | oklch(40.62% 0.127 296) |
| XYZ | xyz(8.9451, 6.0810, 22.8882) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.55
Rebeccapurple
#663399
ΔE00 5.08
Blueberry
#464196
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 8.54
Twilight
#4E518B
ΔE00 9.42
Indigo
#4B0082
ΔE00 9.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513685 #6A8536
analogous
#364385 #513685 #793685
triadic
#513685 #855136 #368551
tetradic
#513685 #853643 #6A8536 #368579
square
#513685 #853643 #6A8536 #368579
split-complementary
#513685 #857936 #438536
monochromatic
#1C132E #362459 #513685 #6C48B1 #8D70C5
Accessibility & contrast
On white
9.48
#513685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#513685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513685
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513685 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#174583
Tritanopia (blue-blind)
#444758
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #513685; /* rgb */ color: rgb(81, 54, 133); /* oklch */ color: oklch(40.6% 0.127 296.0);
Tailwind
colors: {
custom: {
50: '#856ea9',
500: '#513685',
950: '#000000',
},
}SCSS
$custom: #513685; $custom-light: #856ea9; $custom-dark: #000000;
JSON
{
"hex": "#513685",
"rgb": {
"r": 81,
"g": 54,
"b": 133
},
"hsl": {
"h": 260.506,
"s": 42.246,
"l": 36.667
},
"oklch": {
"l": 0.40622,
"c": 0.12726,
"h": 296
},
"luminance": 0.06081
}Semantic roles & 50–950 ramp
primary
#513685
secondary
#96AE69
accent
#D256A8
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F