#513682#513682
#513682 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.4% C 0.123 H 296.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #513682 |
|---|---|
| RGB | rgb(81, 54, 130) |
| HSL | hsl(261, 41%, 36%) |
| HSV | hsv(261, 58%, 51%) |
| CMYK | cmyk(37.7%, 58.5%, 0%, 49%) |
| CIE-LAB | lab(29.41, 29.95, -38.73) |
| CIE-LCH | lch(29.41, 48.96, 307.72°) |
| OKLab | oklab(40.41% 0.0558 -0.1098) |
| OKLCH | oklch(40.41% 0.123 296.9) |
| XYZ | xyz(8.7408, 5.9992, 21.8122) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.84
Rebeccapurple
#663399
ΔE00 5.42
Blueberry
#464196
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 9.09
Twilight
#4E518B
ΔE00 9.45
Indigo
#4B0082
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#513682 #678236
analogous
#364182 #513682 #773682
triadic
#513682 #825136 #368251
tetradic
#513682 #823641 #678236 #368277
square
#513682 #823641 #678236 #368277
split-complementary
#513682 #827736 #418236
monochromatic
#1B122C #362457 #513682 #6C48AD #8D6FC3
Accessibility & contrast
On white
9.55
#513682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#513682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #513682
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##513682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##513682 | 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)
#114685
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#464656
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #513682; /* rgb */ color: rgb(81, 54, 130); /* oklch */ color: oklch(40.4% 0.123 296.9);
Tailwind
colors: {
custom: {
50: '#856ea7',
500: '#513682',
950: '#000000',
},
}SCSS
$custom: #513682; $custom-light: #856ea7; $custom-dark: #000000;
JSON
{
"hex": "#513682",
"rgb": {
"r": 81,
"g": 54,
"b": 130
},
"hsl": {
"h": 261.316,
"s": 41.304,
"l": 36.078
},
"oklch": {
"l": 0.40406,
"c": 0.1232,
"h": 296.9
},
"luminance": 0.05999
}Semantic roles & 50–950 ramp
primary
#513682
secondary
#94AC68
accent
#D157A6
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F