#543191#543191
#543191 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.151 H 295.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #543191 |
|---|---|
| RGB | rgb(84, 49, 145) |
| HSL | hsl(262, 49%, 38%) |
| HSV | hsv(262, 66%, 57%) |
| CMYK | cmyk(42.1%, 66.2%, 0%, 43.1%) |
| CIE-LAB | lab(29.73, 37.87, -47.50) |
| CIE-LCH | lch(29.73, 60.75, 308.56°) |
| OKLab | oklab(41.06% 0.0656 -0.1355) |
| OKLCH | oklch(41.06% 0.151 295.8) |
| XYZ | xyz(9.8640, 6.1256, 27.4452) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.50
Darkslateblue
#483D8B
ΔE00 4.90
Blueberry
#464196
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 7.37
Indigo Blue
#3A18B1
ΔE00 7.84
Indigo
#4B0082
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#543191 #6E9131
analogous
#313E91 #543191 #843191
triadic
#543191 #915431 #319154
tetradic
#543191 #91313E #6E9131 #319184
square
#543191 #91313E #6E9131 #319184
split-complementary
#543191 #918431 #3E9131
monochromatic
#1F1236 #3A2263 #543191 #6F41BF #916ECE
Accessibility & contrast
On white
9.44
#543191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#543191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #543191
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##543191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##543191 | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#44475C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #543191; /* rgb */ color: rgb(84, 49, 145); /* oklch */ color: oklch(41.1% 0.151 295.8);
Tailwind
colors: {
custom: {
50: '#896bb2',
500: '#543191',
950: '#000000',
},
}SCSS
$custom: #543191; $custom-light: #896bb2; $custom-dark: #000000;
JSON
{
"hex": "#543191",
"rgb": {
"r": 84,
"g": 49,
"b": 145
},
"hsl": {
"h": 261.875,
"s": 49.485,
"l": 38.039
},
"oklch": {
"l": 0.4106,
"c": 0.15054,
"h": 295.8
},
"luminance": 0.06126
}Semantic roles & 50–950 ramp
primary
#543191
secondary
#99B668
accent
#D94FA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80