#543799#543799

#543799 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.152 H 292.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#543799
RGBrgb(84, 55, 153)
HSLhsl(258, 47%, 41%)
HSVhsv(258, 64%, 60%)
CMYKcmyk(45.1%, 64.1%, 0%, 40%)
CIE-LABlab(31.62, 36.71, -49.33)
CIE-LCHlch(31.62, 61.49, 306.66°)
OKLaboklab(42.62% 0.0579 -0.1409)
OKLCHoklch(42.62% 0.152 292.3)
XYZxyz(10.7705, 6.9168, 30.8984)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543799 #7C9937
analogous
#374B99 #543799 #853799
triadic
#543799 #995437 #379954
tetradic
#543799 #99374B #7C9937 #379985
square
#543799 #99374B #7C9937 #379985
split-complementary
#543799 #998537 #4B9937
monochromatic
#23173F #3B276C #543799 #6F4EBF #947BD0

Accessibility & contrast

On white

8.81
#543799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#543799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543799
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543799#FFFFFF#000000##FFFFFF
##5437991.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#404E63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #543799;
/* rgb */ color: rgb(84, 55, 153);
/* oklch */ color: oklch(42.6% 0.152 292.3);
Tailwind
colors: {
  custom: {
    50: '#8a6fb8',
    500: '#543799',
    950: '#000000',
  },
}
SCSS
$custom: #543799;
$custom-light: #8a6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#543799",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 257.755,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.15234,
    "h": 292.3
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#543799
secondary
#A4B973
accent
#D751AF
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #543799

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

Preview Lab → · Contrast checker → · Palette generator →

#543799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva