#534278#534278
#534278 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.089 H 296.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #534278 |
|---|---|
| RGB | rgb(83, 66, 120) |
| HSL | hsl(259, 29%, 36%) |
| HSV | hsv(259, 45%, 47%) |
| CMYK | cmyk(30.8%, 45%, 0%, 52.9%) |
| CIE-LAB | lab(32.01, 20.13, -28.32) |
| CIE-LCH | lch(32.01, 34.75, 305.41°) |
| OKLab | oklab(42.2% 0.0403 -0.0793) |
| OKLCH | oklch(42.2% 0.089 296.9) |
| XYZ | xyz(8.9048, 7.0914, 18.6653) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.02
Twilight
#4E518B
ΔE00 6.94
Dusk
#4E5481
ΔE00 7.68
Blueberry
#464196
ΔE00 7.75
Rebeccapurple
#663399
ΔE00 9.22
Royal Purple
#7851A9
ΔE00 10.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#534278 #677842
analogous
#424C78 #534278 #6E4278
triadic
#534278 #785342 #427853
tetradic
#534278 #78424C #677842 #42786E
square
#534278 #78424C #677842 #42786E
split-complementary
#534278 #786E42 #4C7842
monochromatic
#1C1729 #382C51 #534278 #6E589F #8F7DB7
Accessibility & contrast
On white
8.68
#534278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#534278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #534278
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##534278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##534278 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324C7A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#4B4C57
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #534278; /* rgb */ color: rgb(83, 66, 120); /* oklch */ color: oklch(42.2% 0.089 296.9);
Tailwind
colors: {
custom: {
50: '#85769f',
500: '#534278',
950: '#000000',
},
}SCSS
$custom: #534278; $custom-light: #85769f; $custom-dark: #000000;
JSON
{
"hex": "#534278",
"rgb": {
"r": 83,
"g": 66,
"b": 120
},
"hsl": {
"h": 258.889,
"s": 29.032,
"l": 36.471
},
"oklch": {
"l": 0.422,
"c": 0.08899,
"h": 296.9
},
"luminance": 0.07091
}Semantic roles & 50–950 ramp
primary
#534278
secondary
#94A273
accent
#C562A6
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E