#543778#543778

#543778 is a dark, moderate violet. Relative luminance 0.060; OKLCH L 40.2% C 0.108 H 302.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#543778
RGBrgb(84, 55, 120)
HSLhsl(267, 37%, 34%)
HSVhsv(267, 54%, 47%)
CMYKcmyk(30%, 54.2%, 0%, 52.9%)
CIE-LABlab(29.34, 27.37, -32.54)
CIE-LCHlch(29.34, 42.52, 310.06°)
OKLaboklab(40.23% 0.0581 -0.0916)
OKLCHoklch(40.23% 0.109 302.4)
XYZxyz(8.4117, 5.9733, 18.4755)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543778 #5B7837
analogous
#373B78 #543778 #753778
triadic
#543778 #785437 #377854
tetradic
#543778 #78373B #5B7837 #377875
square
#543778 #78373B #5B7837 #377875
split-complementary
#543778 #787537 #3B7837
monochromatic
#191124 #37244E #543778 #714AA2 #906DBC

Accessibility & contrast

On white

9.57
#543778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#543778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543778
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543778#FFFFFF#000000##FFFFFF
##5437781.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#294576
Tritanopia (blue-blind)
#4D4352
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #543778;
/* rgb */ color: rgb(84, 55, 120);
/* oklch */ color: oklch(40.2% 0.108 302.4);
Tailwind
colors: {
  custom: {
    50: '#866f9f',
    500: '#543778',
    950: '#000000',
  },
}
SCSS
$custom: #543778;
$custom-light: #866f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#543778",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 266.769,
    "s": 37.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.1085,
    "h": 302.4
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#543778
secondary
#89A566
accent
#CD5B9A
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #543778

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

Preview Lab → · Contrast checker → · Palette generator →

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