#514488#514488
#514488 is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.4% C 0.109 H 289.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #514488 |
|---|---|
| RGB | rgb(81, 68, 136) |
| HSL | hsl(251, 33%, 40%) |
| HSV | hsv(251, 50%, 53%) |
| CMYK | cmyk(40.4%, 50%, 0%, 46.7%) |
| CIE-LAB | lab(33.27, 22.92, -36.28) |
| CIE-LCH | lch(33.27, 42.92, 302.29°) |
| OKLab | oklab(43.4% 0.0371 -0.1026) |
| OKLCH | oklch(43.4% 0.109 289.9) |
| XYZ | xyz(9.9032, 7.6609, 24.2447) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.97
Blueberry
#464196
ΔE00 4.09
Twilight
#4E518B
ΔE00 5.00
Dusk
#4E5481
ΔE00 6.95
Rebeccapurple
#663399
ΔE00 7.76
Ocean Blue
#4F42B5
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514488 #7B8844
analogous
#445988 #514488 #734488
triadic
#514488 #885144 #448851
tetradic
#514488 #884459 #7B8844 #448873
square
#514488 #884459 #7B8844 #448873
split-complementary
#514488 #887344 #598844
monochromatic
#201B36 #39305F #514488 #6B5CAD #9085C2
Accessibility & contrast
On white
8.29
#514488 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#514488 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514488
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514488 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514488 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A508A
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#42525F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #514488; /* rgb */ color: rgb(81, 68, 136); /* oklch */ color: oklch(43.4% 0.109 289.9);
Tailwind
colors: {
custom: {
50: '#8578ab',
500: '#514488',
950: '#000000',
},
}SCSS
$custom: #514488; $custom-light: #8578ab; $custom-dark: #000000;
JSON
{
"hex": "#514488",
"rgb": {
"r": 81,
"g": 68,
"b": 136
},
"hsl": {
"h": 251.471,
"s": 33.333,
"l": 40
},
"oklch": {
"l": 0.43396,
"c": 0.10915,
"h": 289.9
},
"luminance": 0.07661
}Semantic roles & 50–950 ramp
primary
#514488
secondary
#A3AD7B
accent
#C95EB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F