#54219C#54219C
#54219C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.183 H 295.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #54219C |
|---|---|
| RGB | rgb(84, 33, 156) |
| HSL | hsl(265, 65%, 37%) |
| HSV | hsv(265, 79%, 61%) |
| CMYK | cmyk(46.2%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(27.77, 48.93, -57.43) |
| CIE-LCH | lch(27.77, 75.45, 310.43°) |
| OKLab | oklab(39.96% 0.079 -0.1646) |
| OKLCH | oklch(39.96% 0.183 295.6) |
| XYZ | xyz(10.1991, 5.3726, 31.9457) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.89
Rebeccapurple
#663399
ΔE00 5.14
Indigo
#4B0082
ΔE00 5.90
Violet Blue
#510AC9
ΔE00 6.17
Indigo (survey)
#380282
ΔE00 7.04
Purple Blue
#5D21D0
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54219C #699C21
analogous
#212C9C #54219C #92219C
triadic
#54219C #9C5421 #219C54
tetradic
#54219C #9C212C #699C21 #219C92
square
#54219C #9C212C #699C21 #219C92
split-complementary
#54219C #9C9221 #2C9C21
monochromatic
#1E0C37 #391669 #54219C #6F2CCF #915BDC
Accessibility & contrast
On white
10.12
#54219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#54219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54219C
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54219C | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#40435E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #54219c; /* rgb */ color: rgb(84, 33, 156); /* oklch */ color: oklch(40.0% 0.183 295.6);
Tailwind
colors: {
custom: {
50: '#8c63ba',
500: '#54219c',
950: '#000000',
},
}SCSS
$custom: #54219c; $custom-light: #8c63ba; $custom-dark: #000000;
JSON
{
"hex": "#54219c",
"rgb": {
"r": 84,
"g": 33,
"b": 156
},
"hsl": {
"h": 264.878,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39958,
"c": 0.18259,
"h": 295.6
},
"luminance": 0.05373
}Semantic roles & 50–950 ramp
primary
#54219C
secondary
#95C158
accent
#E840A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81