#534788#534788
#534788 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.2% C 0.104 H 289.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #534788 |
|---|---|
| RGB | rgb(83, 71, 136) |
| HSL | hsl(251, 31%, 41%) |
| HSV | hsv(251, 48%, 53%) |
| CMYK | cmyk(39%, 47.8%, 0%, 46.7%) |
| CIE-LAB | lab(34.24, 21.56, -34.72) |
| CIE-LCH | lch(34.24, 40.87, 301.83°) |
| OKLab | oklab(44.17% 0.0356 -0.098) |
| OKLCH | oklch(44.17% 0.104 289.9) |
| XYZ | xyz(10.2632, 8.1228, 24.3149) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.94
Twilight
#4E518B
ΔE00 4.29
Blueberry
#464196
ΔE00 4.76
Dusk
#4E5481
ΔE00 6.16
Rebeccapurple
#663399
ΔE00 8.37
Ocean Blue
#4F42B5
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#534788 #7C8847
analogous
#475B88 #534788 #734788
triadic
#534788 #885347 #478853
tetradic
#534788 #88475B #7C8847 #478873
square
#534788 #88475B #7C8847 #478873
split-complementary
#534788 #887347 #5B8847
monochromatic
#221D38 #3A3260 #534788 #6E60AC #9388C1
Accessibility & contrast
On white
8.00
#534788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#534788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #534788
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##534788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##534788 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#455461
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #534788; /* rgb */ color: rgb(83, 71, 136); /* oklch */ color: oklch(44.2% 0.104 289.9);
Tailwind
colors: {
custom: {
50: '#867aab',
500: '#534788',
950: '#000000',
},
}SCSS
$custom: #534788; $custom-light: #867aab; $custom-dark: #000000;
JSON
{
"hex": "#534788",
"rgb": {
"r": 83,
"g": 71,
"b": 136
},
"hsl": {
"h": 251.077,
"s": 31.401,
"l": 40.588
},
"oklch": {
"l": 0.44172,
"c": 0.10427,
"h": 289.9
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#534788
secondary
#A4AD7E
accent
#C860B5
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0910
muted
#7C7B7F