#543770#543770

#543770 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.7% C 0.098 H 305.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#543770
RGBrgb(84, 55, 112)
HSLhsl(271, 34%, 33%)
HSVhsv(271, 51%, 44%)
CMYKcmyk(25%, 50.9%, 0%, 56.1%)
CIE-LABlab(28.87, 25.23, -28.23)
CIE-LCHlch(28.87, 37.87, 311.79°)
OKLaboklab(39.72% 0.0573 -0.079)
OKLCHoklch(39.72% 0.098 305.9)
XYZxyz(7.9464, 5.7871, 16.0245)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543770 #537037
analogous
#373770 #543770 #703770
triadic
#543770 #705437 #377054
tetradic
#543770 #703737 #537037 #377070
square
#543770 #703737 #537037 #377070
split-complementary
#543770 #707037 #377037
monochromatic
#160F1E #352347 #543770 #734B99 #916BB6

Accessibility & contrast

On white

9.73
#543770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543770
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543770#FFFFFF#000000##FFFFFF
##5437701.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274372
Deuteranopia (green-blind)
#2F446F
Tritanopia (blue-blind)
#50414E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #543770;
/* rgb */ color: rgb(84, 55, 112);
/* oklch */ color: oklch(39.7% 0.098 305.9);
Tailwind
colors: {
  custom: {
    50: '#866e99',
    500: '#543770',
    950: '#000000',
  },
}
SCSS
$custom: #543770;
$custom-light: #866e99;
$custom-dark: #000000;
JSON
{
  "hex": "#543770",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 270.526,
    "s": 34.132,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.0976,
    "h": 305.9
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#543770
secondary
#819F63
accent
#CA5E93
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #543770

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

Preview Lab → · Contrast checker → · Palette generator →

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