#514392#514392
#514392 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 43.9% C 0.125 H 288.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #514392 |
|---|---|
| RGB | rgb(81, 67, 146) |
| HSL | hsl(251, 37%, 42%) |
| HSV | hsv(251, 54%, 57%) |
| CMYK | cmyk(44.5%, 54.1%, 0%, 42.7%) |
| CIE-LAB | lab(33.64, 26.59, -41.81) |
| CIE-LCH | lch(33.64, 49.55, 302.46°) |
| OKLab | oklab(43.88% 0.0393 -0.1189) |
| OKLCH | oklch(43.88% 0.125 288.3) |
| XYZ | xyz(10.5873, 7.8386, 28.1437) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.28
Blueberry
#464196
ΔE00 2.52
Twilight
#4E518B
ΔE00 5.72
Ocean Blue
#4F42B5
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 6.81
Dusk
#4E5481
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514392 #849243
analogous
#435D92 #514392 #794392
triadic
#514392 #925143 #439251
tetradic
#514392 #92435D #849243 #439279
square
#514392 #92435D #849243 #439279
split-complementary
#514392 #927943 #5D9243
monochromatic
#221C3E #3A3068 #514392 #6D5DB5 #9387C8
Accessibility & contrast
On white
8.18
#514392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#514392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514392
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514392 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#1E4D90
Tritanopia (blue-blind)
#3E5464
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #514392; /* rgb */ color: rgb(81, 67, 146); /* oklch */ color: oklch(43.9% 0.125 288.3);
Tailwind
colors: {
custom: {
50: '#8677b2',
500: '#514392',
950: '#000000',
},
}SCSS
$custom: #514392; $custom-light: #8677b2; $custom-dark: #000000;
JSON
{
"hex": "#514392",
"rgb": {
"r": 81,
"g": 67,
"b": 146
},
"hsl": {
"h": 250.633,
"s": 37.089,
"l": 41.765
},
"oklch": {
"l": 0.43883,
"c": 0.12519,
"h": 288.3
},
"luminance": 0.07839
}Semantic roles & 50–950 ramp
primary
#514392
secondary
#AAB37E
accent
#CD5BB9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80