#543A8F#543A8F

#543A8F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.4% C 0.135 H 294.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#543A8F
RGBrgb(84, 58, 143)
HSLhsl(258, 42%, 39%)
HSVhsv(258, 59%, 56%)
CMYKcmyk(41.3%, 59.4%, 0%, 43.9%)
CIE-LABlab(31.56, 32.01, -43.30)
CIE-LCHlch(31.56, 53.85, 306.48°)
OKLaboklab(42.35% 0.0548 -0.1232)
OKLCHoklch(42.35% 0.135 294)
XYZxyz(10.1258, 6.8939, 26.7784)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543A8F #758F3A
analogous
#3A4B8F #543A8F #7F3A8F
triadic
#543A8F #8F543A #3A8F54
tetradic
#543A8F #8F3A4B #758F3A #3A8F7F
square
#543A8F #8F3A4B #758F3A #3A8F7F
split-complementary
#543A8F #8F7F3A #4B8F3A
monochromatic
#211738 #3A2863 #543A8F #6F4FB7 #927AC9

Accessibility & contrast

On white

8.83
#543A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#543A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543A8F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543A8F#FFFFFF#000000##FFFFFF
##543A8F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064B92
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#454C5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #543a8f;
/* rgb */ color: rgb(84, 58, 143);
/* oklch */ color: oklch(42.4% 0.135 294.0);
Tailwind
colors: {
  custom: {
    50: '#8871b0',
    500: '#543a8f',
    950: '#000000',
  },
}
SCSS
$custom: #543a8f;
$custom-light: #8871b0;
$custom-dark: #000000;
JSON
{
  "hex": "#543a8f",
  "rgb": {
    "r": 84,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 258.353,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.13481,
    "h": 294
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#543A8F
secondary
#9FB372
accent
#D256AC
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #543A8F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#543A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva