#513683#513683
#513683 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.125 H 296.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #513683 |
|---|---|
| RGB | rgb(81, 54, 131) |
| HSL | hsl(261, 42%, 36%) |
| HSV | hsv(261, 59%, 51%) |
| CMYK | cmyk(38.2%, 58.8%, 0%, 48.6%) |
| CIE-LAB | lab(29.48, 30.24, -39.25) |
| CIE-LCH | lch(29.48, 49.54, 307.61°) |
| OKLab | oklab(40.48% 0.0558 -0.1114) |
| OKLCH | oklch(40.48% 0.125 296.6) |
| XYZ | xyz(8.8082, 6.0262, 22.1674) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.73
Rebeccapurple
#663399
ΔE00 5.30
Blueberry
#464196
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 8.90
Twilight
#4E518B
ΔE00 9.44
Indigo
#4B0082
ΔE00 9.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513683 #688336
analogous
#364283 #513683 #783683
triadic
#513683 #835136 #368351
tetradic
#513683 #833642 #688336 #368378
square
#513683 #833642 #688336 #368378
split-complementary
#513683 #837836 #428336
monochromatic
#1B122C #362458 #513683 #6C48AE #8D70C4
Accessibility & contrast
On white
9.52
#513683 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#513683 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513683
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513683 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513683 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4686
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#454657
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #513683; /* rgb */ color: rgb(81, 54, 131); /* oklch */ color: oklch(40.5% 0.125 296.6);
Tailwind
colors: {
custom: {
50: '#856ea7',
500: '#513683',
950: '#000000',
},
}SCSS
$custom: #513683; $custom-light: #856ea7; $custom-dark: #000000;
JSON
{
"hex": "#513683",
"rgb": {
"r": 81,
"g": 54,
"b": 131
},
"hsl": {
"h": 261.039,
"s": 41.622,
"l": 36.275
},
"oklch": {
"l": 0.40478,
"c": 0.12455,
"h": 296.6
},
"luminance": 0.06026
}Semantic roles & 50–950 ramp
primary
#513683
secondary
#95AC68
accent
#D156A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F