#543780#543780

#543780 is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.8% C 0.119 H 299.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#543780
RGBrgb(84, 55, 128)
HSLhsl(264, 40%, 36%)
HSVhsv(264, 57%, 50%)
CMYKcmyk(34.4%, 57%, 0%, 49.8%)
CIE-LABlab(29.85, 29.57, -36.76)
CIE-LCHlch(29.85, 47.17, 308.81°)
OKLaboklab(40.77% 0.0586 -0.104)
OKLCHoklch(40.77% 0.119 299.4)
XYZxyz(8.9177, 6.1756, 21.1401)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543780 #638037
analogous
#373E80 #543780 #783780
triadic
#543780 #805437 #378054
tetradic
#543780 #80373E #638037 #378078
square
#543780 #80373E #638037 #378078
split-complementary
#543780 #807837 #3E8037
monochromatic
#1C122A #382555 #543780 #7049AB #9070C2

Accessibility & contrast

On white

9.40
#543780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#543780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543780
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543780#FFFFFF#000000##FFFFFF
##5437801.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#22467E
Tritanopia (blue-blind)
#4B4656
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #543780;
/* rgb */ color: rgb(84, 55, 128);
/* oklch */ color: oklch(40.8% 0.119 299.4);
Tailwind
colors: {
  custom: {
    50: '#876fa5',
    500: '#543780',
    950: '#000000',
  },
}
SCSS
$custom: #543780;
$custom-light: #876fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#543780",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 263.836,
    "s": 39.891,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.11933,
    "h": 299.4
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#543780
secondary
#90AA69
accent
#D058A0
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #543780

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

Preview Lab → · Contrast checker → · Palette generator →

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