#514575#514575
#514575 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.4% C 0.079 H 294.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #514575 |
|---|---|
| RGB | rgb(81, 69, 117) |
| HSL | hsl(255, 26%, 36%) |
| HSV | hsv(255, 41%, 46%) |
| CMYK | cmyk(30.8%, 41%, 0%, 54.1%) |
| CIE-LAB | lab(32.46, 16.74, -25.76) |
| CIE-LCH | lch(32.46, 30.72, 303.02°) |
| OKLab | oklab(42.44% 0.0325 -0.0719) |
| OKLCH | oklch(42.44% 0.079 294.3) |
| XYZ | xyz(8.7316, 7.2898, 17.7732) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 6.39
Dusk
#4E5481
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 7.04
Blueberry
#464196
ΔE00 8.52
Rebeccapurple
#663399
ΔE00 10.81
Royal Purple
#7851A9
ΔE00 11.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514575 #697545
analogous
#455175 #514575 #694575
triadic
#514575 #755145 #457551
tetradic
#514575 #754551 #697545 #457569
square
#514575 #754551 #697545 #457569
split-complementary
#514575 #756945 #517545
monochromatic
#1C1828 #362E4F #514575 #6C5C9B #8D80B4
Accessibility & contrast
On white
8.54
#514575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#514575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514575
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514575 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374D77
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#494E57
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #514575; /* rgb */ color: rgb(81, 69, 117); /* oklch */ color: oklch(42.4% 0.079 294.3);
Tailwind
colors: {
custom: {
50: '#83789d',
500: '#514575',
950: '#000000',
},
}SCSS
$custom: #514575; $custom-light: #83789d; $custom-dark: #000000;
JSON
{
"hex": "#514575",
"rgb": {
"r": 81,
"g": 69,
"b": 117
},
"hsl": {
"h": 255,
"s": 25.806,
"l": 36.471
},
"oklch": {
"l": 0.42436,
"c": 0.07893,
"h": 294.3
},
"luminance": 0.0729
}Semantic roles & 50–950 ramp
primary
#514575
secondary
#95A076
accent
#C266AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B090E
muted
#7C7B7E