#543797#543797

#543797 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.150 H 292.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#543797
RGBrgb(84, 55, 151)
HSLhsl(258, 47%, 40%)
HSVhsv(258, 64%, 59%)
CMYKcmyk(44.4%, 63.6%, 0%, 40.8%)
CIE-LABlab(31.47, 36.13, -48.36)
CIE-LCHlch(31.47, 60.36, 306.76°)
OKLaboklab(42.46% 0.0581 -0.138)
OKLCHoklch(42.46% 0.15 292.8)
XYZxyz(10.6067, 6.8513, 30.0357)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543797 #7A9737
analogous
#374A97 #543797 #843797
triadic
#543797 #975437 #379754
tetradic
#543797 #97374A #7A9737 #379784
square
#543797 #97374A #7A9737 #379784
split-complementary
#543797 #978437 #4A9737
monochromatic
#22163D #3B276A #543797 #6F4DBE #937ACF

Accessibility & contrast

On white

8.86
#543797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#543797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543797
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543797#FFFFFF#000000##FFFFFF
##5437971.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#414D62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #543797;
/* rgb */ color: rgb(84, 55, 151);
/* oklch */ color: oklch(42.5% 0.150 292.8);
Tailwind
colors: {
  custom: {
    50: '#896fb6',
    500: '#543797',
    950: '#000000',
  },
}
SCSS
$custom: #543797;
$custom-light: #896fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#543797",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 258.125,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42463,
    "c": 0.14976,
    "h": 292.8
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#543797
secondary
#A3B872
accent
#D652AE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #543797

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

Preview Lab → · Contrast checker → · Palette generator →

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