#54289C#54289C
#54289C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.175 H 294.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #54289C |
|---|---|
| RGB | rgb(84, 40, 156) |
| HSL | hsl(263, 59%, 38%) |
| HSV | hsv(263, 74%, 61%) |
| CMYK | cmyk(46.2%, 74.4%, 0%, 38.8%) |
| CIE-LAB | lab(28.91, 45.69, -55.57) |
| CIE-LCH | lch(28.91, 71.94, 309.43°) |
| OKLab | oklab(40.76% 0.073 -0.1592) |
| OKLCH | oklch(40.76% 0.175 294.6) |
| XYZ | xyz(10.4141, 5.8024, 32.0173) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 5.41
Violet Blue
#510AC9
ΔE00 6.63
Indigo
#4B0082
ΔE00 6.96
Purple Blue
#5D21D0
ΔE00 7.13
Darkslateblue
#483D8B
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54289C #709C28
analogous
#28369C #54289C #8E289C
triadic
#54289C #9C5428 #289C54
tetradic
#54289C #9C2836 #709C28 #289C8E
square
#54289C #9C2836 #709C28 #289C8E
split-complementary
#54289C #9C8E28 #369C28
monochromatic
#200F3B #3A1C6B #54289C #6F36CB #9267D8
Accessibility & contrast
On white
9.72
#54289C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#54289C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54289C
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54289C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54289C | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#3F4660
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #54289c; /* rgb */ color: rgb(84, 40, 156); /* oklch */ color: oklch(40.8% 0.175 294.6);
Tailwind
colors: {
custom: {
50: '#8b66ba',
500: '#54289c',
950: '#000000',
},
}SCSS
$custom: #54289c; $custom-light: #8b66ba; $custom-dark: #000000;
JSON
{
"hex": "#54289c",
"rgb": {
"r": 84,
"g": 40,
"b": 156
},
"hsl": {
"h": 262.759,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.40756,
"c": 0.17513,
"h": 294.6
},
"luminance": 0.05803
}Semantic roles & 50–950 ramp
primary
#54289C
secondary
#9BBE62
accent
#E245A7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81