#543BAC#543BAC
#543BAC is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.171 H 287.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #543BAC |
|---|---|
| RGB | rgb(84, 59, 172) |
| HSL | hsl(253, 49%, 45%) |
| HSV | hsv(253, 66%, 67%) |
| CMYK | cmyk(51.2%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.96, 40.02, -56.97) |
| CIE-LCH | lch(33.96, 69.62, 305.08°) |
| OKLab | oklab(44.79% 0.0517 -0.1634) |
| OKLCH | oklch(44.79% 0.171 287.5) |
| XYZ | xyz(12.6643, 7.9907, 39.8968) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.60
Blue With A Hint Of Purple
#533CC6
ΔE00 3.73
Blurple
#5539CC
ΔE00 4.48
Bluey Purple
#6241C7
ΔE00 4.64
Blueberry
#464196
ΔE00 4.94
Rebeccapurple
#663399
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#543BAC #93AC3B
analogous
#3B5BAC #543BAC #8C3BAC
triadic
#543BAC #AC543B #3BAC54
tetradic
#543BAC #AC3B5B #93AC3B #3BAC8C
square
#543BAC #AC3B5B #93AC3B #3BAC8C
split-complementary
#543BAC #AC8C3B #5BAC3B
monochromatic
#271C51 #3E2B7E #543BAC #745DC7 #9B8AD7
Accessibility & contrast
On white
8.08
#543BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#543BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #543BAC
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##543BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##543BAC | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#34576E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #543bac; /* rgb */ color: rgb(84, 59, 172); /* oklch */ color: oklch(44.8% 0.171 287.5);
Tailwind
colors: {
custom: {
50: '#8c72c6',
500: '#543bac',
950: '#000000',
},
}SCSS
$custom: #543bac; $custom-light: #8c72c6; $custom-dark: #000000;
JSON
{
"hex": "#543bac",
"rgb": {
"r": 84,
"g": 59,
"b": 172
},
"hsl": {
"h": 253.274,
"s": 48.918,
"l": 45.294
},
"oklch": {
"l": 0.44786,
"c": 0.17135,
"h": 287.5
},
"luminance": 0.07991
}Semantic roles & 50–950 ramp
primary
#543BAC
secondary
#B3C181
accent
#D84FBA
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82