#543784#543784

#543784 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.0% C 0.125 H 298.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#543784
RGBrgb(84, 55, 132)
HSLhsl(263, 41%, 37%)
HSVhsv(263, 58%, 52%)
CMYKcmyk(36.4%, 58.3%, 0%, 48.2%)
CIE-LABlab(30.12, 30.68, -38.83)
CIE-LCHlch(30.12, 49.49, 308.32°)
OKLaboklab(41.05% 0.0587 -0.11)
OKLCHoklch(41.05% 0.125 298.1)
XYZxyz(9.1862, 6.2830, 22.5541)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543784 #678437
analogous
#374184 #543784 #7B3784
triadic
#543784 #845437 #378454
tetradic
#543784 #843741 #678437 #37847B
square
#543784 #843741 #678437 #37847B
split-complementary
#543784 #847B37 #418437
monochromatic
#1D132E #392559 #543784 #6F49AF #9171C4

Accessibility & contrast

On white

9.31
#543784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#543784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543784
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543784#FFFFFF#000000##FFFFFF
##5437841.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#494758
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #543784;
/* rgb */ color: rgb(84, 55, 132);
/* oklch */ color: oklch(41.0% 0.125 298.1);
Tailwind
colors: {
  custom: {
    50: '#876fa8',
    500: '#543784',
    950: '#000000',
  },
}
SCSS
$custom: #543784;
$custom-light: #876fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#543784",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 262.597,
    "s": 41.176,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.12471,
    "h": 298.1
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#543784
secondary
#94AD6A
accent
#D157A3
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #543784

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

Preview Lab → · Contrast checker → · Palette generator →

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