#543A9D#543A9D

#543A9D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.4% C 0.153 H 290.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#543A9D
RGBrgb(84, 58, 157)
HSLhsl(256, 46%, 42%)
HSVhsv(256, 63%, 62%)
CMYKcmyk(46.5%, 63.1%, 0%, 38.4%)
CIE-LABlab(32.58, 36.12, -50.20)
CIE-LCHlch(32.58, 61.85, 305.74°)
OKLaboklab(43.42% 0.0542 -0.1435)
OKLCHoklch(43.42% 0.153 290.7)
XYZxyz(11.2533, 7.3449, 32.7165)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543A9D #839D3A
analogous
#3A519D #543A9D #863A9D
triadic
#543A9D #9D543A #3A9D54
tetradic
#543A9D #9D3A51 #839D3A #3A9D86
square
#543A9D #9D3A51 #839D3A #3A9D86
split-complementary
#543A9D #9D863A #519D3A
monochromatic
#241944 #3C2970 #543A9D #7154C0 #9681D0

Accessibility & contrast

On white

8.51
#543A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#543A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543A9D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543A9D#FFFFFF#000000##FFFFFF
##543A9D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#3E5166
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #543a9d;
/* rgb */ color: rgb(84, 58, 157);
/* oklch */ color: oklch(43.4% 0.153 290.7);
Tailwind
colors: {
  custom: {
    50: '#8a71bb',
    500: '#543a9d',
    950: '#000000',
  },
}
SCSS
$custom: #543a9d;
$custom-light: #8a71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#543a9d",
  "rgb": {
    "r": 84,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 255.758,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.15336,
    "h": 290.7
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#543A9D
secondary
#A9BA79
accent
#D652B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #543A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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