#543199#543199

#543199 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.160 H 293.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#543199
RGBrgb(84, 49, 153)
HSLhsl(260, 51%, 40%)
HSVhsv(260, 68%, 60%)
CMYKcmyk(45.1%, 68%, 0%, 40%)
CIE-LABlab(30.35, 40.13, -51.38)
CIE-LCHlch(30.35, 65.19, 307.99°)
OKLaboklab(41.71% 0.0646 -0.1469)
OKLCHoklch(41.71% 0.16 293.7)
XYZxyz(10.5027, 6.3811, 30.8091)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543199 #769931
analogous
#314299 #543199 #883199
triadic
#543199 #995431 #319954
tetradic
#543199 #993142 #769931 #319988
square
#543199 #993142 #769931 #319988
split-complementary
#543199 #998831 #429931
monochromatic
#21133C #3B226B #543199 #6F44C3 #9372D2

Accessibility & contrast

On white

9.23
#543199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#543199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543199
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543199#FFFFFF#000000##FFFFFF
##5431991.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#404A61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #543199;
/* rgb */ color: rgb(84, 49, 153);
/* oklch */ color: oklch(41.7% 0.160 293.7);
Tailwind
colors: {
  custom: {
    50: '#8a6bb8',
    500: '#543199',
    950: '#000000',
  },
}
SCSS
$custom: #543199;
$custom-light: #8a6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#543199",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 260.192,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.16048,
    "h": 293.7
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#543199
secondary
#A0BA6C
accent
#DB4DAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #543199

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

Preview Lab → · Contrast checker → · Palette generator →

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