#514684#514684
#514684 is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.5% C 0.100 H 289.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #514684 |
|---|---|
| RGB | rgb(81, 70, 132) |
| HSL | hsl(251, 31%, 40%) |
| HSV | hsv(251, 47%, 52%) |
| CMYK | cmyk(38.6%, 47%, 0%, 48.2%) |
| CIE-LAB | lab(33.55, 20.45, -33.36) |
| CIE-LCH | lch(33.55, 39.13, 301.51°) |
| OKLab | oklab(43.54% 0.0338 -0.0941) |
| OKLCH | oklch(43.54% 0.1 289.7) |
| XYZ | xyz(9.7472, 7.7953, 22.8164) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.05
Twilight
#4E518B
ΔE00 4.42
Blueberry
#464196
ΔE00 5.11
Dusk
#4E5481
ΔE00 6.04
Rebeccapurple
#663399
ΔE00 8.78
Ocean Blue
#4F42B5
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514684 #798446
analogous
#465A84 #514684 #704684
triadic
#514684 #845146 #468451
tetradic
#514684 #84465A #798446 #468470
square
#514684 #84465A #798446 #468470
split-complementary
#514684 #847046 #5A8446
monochromatic
#201C34 #38315C #514684 #6B5EA9 #9086BF
Accessibility & contrast
On white
8.21
#514684 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#514684 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514684
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514684 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514684 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305086
Deuteranopia (green-blind)
#314D83
Tritanopia (blue-blind)
#44525E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #514684; /* rgb */ color: rgb(81, 70, 132); /* oklch */ color: oklch(43.5% 0.100 289.7);
Tailwind
colors: {
custom: {
50: '#8479a8',
500: '#514684',
950: '#000000',
},
}SCSS
$custom: #514684; $custom-light: #8479a8; $custom-dark: #000000;
JSON
{
"hex": "#514684",
"rgb": {
"r": 81,
"g": 70,
"b": 132
},
"hsl": {
"h": 250.645,
"s": 30.693,
"l": 39.608
},
"oklch": {
"l": 0.43535,
"c": 0.09997,
"h": 289.7
},
"luminance": 0.07796
}Semantic roles & 50–950 ramp
primary
#514684
secondary
#A2AA7C
accent
#C761B5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F