#543AAA#543AAA

#543AAA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.170 H 288.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#543AAA
RGBrgb(84, 58, 170)
HSLhsl(254, 49%, 45%)
HSVhsv(254, 66%, 67%)
CMYKcmyk(50.6%, 65.9%, 0%, 33.3%)
CIE-LABlab(33.59, 40.00, -56.39)
CIE-LCHlch(33.59, 69.13, 305.35°)
OKLaboklab(44.47% 0.0529 -0.1617)
OKLCHoklch(44.47% 0.17 288.1)
XYZxyz(12.4228, 7.8126, 38.8758)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543AAA #90AA3A
analogous
#3A58AA #543AAA #8C3AAA
triadic
#543AAA #AA543A #3AAA54
tetradic
#543AAA #AA3A58 #90AA3A #3AAA8C
square
#543AAA #AA3A58 #90AA3A #3AAA8C
split-complementary
#543AAA #AA8C3A #58AA3A
monochromatic
#271B4F #3D2A7C #543AAA #745AC7 #9A88D6

Accessibility & contrast

On white

8.19
#543AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#543AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543AAA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543AAA#FFFFFF#000000##FFFFFF
##543AAA1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#35556D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #543aaa;
/* rgb */ color: rgb(84, 58, 170);
/* oklch */ color: oklch(44.5% 0.170 288.1);
Tailwind
colors: {
  custom: {
    50: '#8c72c4',
    500: '#543aaa',
    950: '#000000',
  },
}
SCSS
$custom: #543aaa;
$custom-light: #8c72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#543aaa",
  "rgb": {
    "r": 84,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 253.929,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.1701,
    "h": 288.1
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#543AAA
secondary
#B1C17F
accent
#D94FB9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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