#543771#543771

#543771 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.8% C 0.099 H 305.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#543771
RGBrgb(84, 55, 113)
HSLhsl(270, 35%, 33%)
HSVhsv(270, 51%, 44%)
CMYKcmyk(25.7%, 51.3%, 0%, 55.7%)
CIE-LABlab(28.93, 25.50, -28.78)
CIE-LCHlch(28.93, 38.45, 311.54°)
OKLaboklab(39.78% 0.0574 -0.0806)
OKLCHoklch(39.78% 0.099 305.4)
XYZxyz(8.0024, 5.8095, 16.3194)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543771 #547137
analogous
#373771 #543771 #713771
triadic
#543771 #715437 #377154
tetradic
#543771 #713737 #547137 #377171
square
#543771 #713737 #547137 #377171
split-complementary
#543771 #717137 #377137
monochromatic
#170F1F #352348 #543771 #734B9A #916BB7

Accessibility & contrast

On white

9.71
#543771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#543771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543771
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543771#FFFFFF#000000##FFFFFF
##5437711.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#4F414E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #543771;
/* rgb */ color: rgb(84, 55, 113);
/* oklch */ color: oklch(39.8% 0.099 305.4);
Tailwind
colors: {
  custom: {
    50: '#866e9a',
    500: '#543771',
    950: '#000000',
  },
}
SCSS
$custom: #543771;
$custom-light: #866e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#543771",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 34.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.09897,
    "h": 305.4
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#543771
secondary
#82A064
accent
#CB5D94
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #543771

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

Preview Lab → · Contrast checker → · Palette generator →

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