#543786#543786

#543786 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.2% C 0.127 H 297.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#543786
RGBrgb(84, 55, 134)
HSLhsl(262, 42%, 37%)
HSVhsv(262, 59%, 53%)
CMYKcmyk(37.3%, 59%, 0%, 47.5%)
CIE-LABlab(30.25, 31.25, -39.85)
CIE-LCHlch(30.25, 50.64, 308.10°)
OKLaboklab(41.19% 0.0587 -0.113)
OKLCHoklch(41.19% 0.127 297.4)
XYZxyz(9.3243, 6.3383, 23.2818)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543786 #698637
analogous
#374286 #543786 #7C3786
triadic
#543786 #865437 #378654
tetradic
#543786 #863742 #698637 #37867C
square
#543786 #863742 #698637 #37867C
split-complementary
#543786 #867C37 #428637
monochromatic
#1E132F #39255B #543786 #6F49B1 #9172C5

Accessibility & contrast

On white

9.26
#543786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543786
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543786#FFFFFF#000000##FFFFFF
##5437861.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#1B4684
Tritanopia (blue-blind)
#494759
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #543786;
/* rgb */ color: rgb(84, 55, 134);
/* oklch */ color: oklch(41.2% 0.127 297.4);
Tailwind
colors: {
  custom: {
    50: '#886faa',
    500: '#543786',
    950: '#000000',
  },
}
SCSS
$custom: #543786;
$custom-light: #886faa;
$custom-dark: #000000;
JSON
{
  "hex": "#543786",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 262.025,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.12739,
    "h": 297.4
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#543786
secondary
#95AE6B
accent
#D256A4
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #543786

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

Preview Lab → · Contrast checker → · Palette generator →

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