#54249F#54249F
#54249F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.183 H 294.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #54249F |
|---|---|
| RGB | rgb(84, 36, 159) |
| HSL | hsl(263, 63%, 38%) |
| HSV | hsv(263, 77%, 62%) |
| CMYK | cmyk(47.2%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(28.51, 48.39, -58.05) |
| CIE-LCH | lch(28.51, 75.57, 309.81°) |
| OKLab | oklab(40.56% 0.0757 -0.1664) |
| OKLCH | oklch(40.56% 0.183 294.5) |
| XYZ | xyz(10.5433, 5.6495, 33.3291) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.77
Rebeccapurple
#663399
ΔE00 4.91
Violet Blue
#510AC9
ΔE00 5.91
Indigo
#4B0082
ΔE00 6.61
Purple Blue
#5D21D0
ΔE00 6.71
Ultramarine
#2000B1
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54249F #6F9F24
analogous
#24319F #54249F #91249F
triadic
#54249F #9F5424 #249F54
tetradic
#54249F #9F2431 #6F9F24 #249F91
square
#54249F #9F2431 #6F9F24 #249F91
split-complementary
#54249F #9F9124 #319F24
monochromatic
#1F0D3B #3A196D #54249F #6F30D0 #9162DB
Accessibility & contrast
On white
9.86
#54249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#54249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54249F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54249F | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#3E4660
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #54249f; /* rgb */ color: rgb(84, 36, 159); /* oklch */ color: oklch(40.6% 0.183 294.5);
Tailwind
colors: {
custom: {
50: '#8c64bc',
500: '#54249f',
950: '#000000',
},
}SCSS
$custom: #54249f; $custom-light: #8c64bc; $custom-dark: #000000;
JSON
{
"hex": "#54249f",
"rgb": {
"r": 84,
"g": 36,
"b": 159
},
"hsl": {
"h": 263.415,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.40559,
"c": 0.18285,
"h": 294.5
},
"luminance": 0.0565
}Semantic roles & 50–950 ramp
primary
#54249F
secondary
#9AC15E
accent
#E642A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81