#543787#543787

#543787 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.3% C 0.129 H 297.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#543787
RGBrgb(84, 55, 135)
HSLhsl(262, 42%, 37%)
HSVhsv(262, 59%, 53%)
CMYKcmyk(37.8%, 59.3%, 0%, 47.1%)
CIE-LABlab(30.32, 31.53, -40.36)
CIE-LCHlch(30.32, 51.22, 307.99°)
OKLaboklab(41.26% 0.0587 -0.1145)
OKLCHoklch(41.26% 0.129 297.1)
XYZxyz(9.3944, 6.3663, 23.6508)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543787 #6A8737
analogous
#374287 #543787 #7C3787
triadic
#543787 #875437 #378754
tetradic
#543787 #873742 #6A8737 #37877C
square
#543787 #873742 #6A8737 #37877C
split-complementary
#543787 #877C37 #428737
monochromatic
#1E1430 #39255C #543787 #6F49B2 #9173C6

Accessibility & contrast

On white

9.24
#543787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#543787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543787
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543787#FFFFFF#000000##FFFFFF
##5437871.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488A
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#484859
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #543787;
/* rgb */ color: rgb(84, 55, 135);
/* oklch */ color: oklch(41.3% 0.129 297.1);
Tailwind
colors: {
  custom: {
    50: '#886faa',
    500: '#543787',
    950: '#000000',
  },
}
SCSS
$custom: #543787;
$custom-light: #886faa;
$custom-dark: #000000;
JSON
{
  "hex": "#543787",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 261.75,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.12872,
    "h": 297.1
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#543787
secondary
#96AF6B
accent
#D256A5
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #543787

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

Preview Lab → · Contrast checker → · Palette generator →

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