#543781#543781

#543781 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.8% C 0.121 H 299.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#543781
RGBrgb(84, 55, 129)
HSLhsl(264, 40%, 36%)
HSVhsv(264, 57%, 51%)
CMYKcmyk(34.9%, 57.4%, 0%, 49.4%)
CIE-LABlab(29.92, 29.84, -37.28)
CIE-LCHlch(29.92, 47.75, 308.68°)
OKLaboklab(40.84% 0.0586 -0.1055)
OKLCHoklch(40.84% 0.121 299.1)
XYZxyz(8.9838, 6.2021, 21.4884)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543781 #648137
analogous
#373F81 #543781 #793781
triadic
#543781 #815437 #378154
tetradic
#543781 #81373F #648137 #378179
square
#543781 #81373F #648137 #378179
split-complementary
#543781 #817937 #3F8137
monochromatic
#1C122B #382556 #543781 #7049AC #9070C2

Accessibility & contrast

On white

9.37
#543781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #543781
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543781#FFFFFF#000000##FFFFFF
##5437811.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#21467F
Tritanopia (blue-blind)
#4A4656
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #543781;
/* rgb */ color: rgb(84, 55, 129);
/* oklch */ color: oklch(40.8% 0.121 299.1);
Tailwind
colors: {
  custom: {
    50: '#876fa6',
    500: '#543781',
    950: '#000000',
  },
}
SCSS
$custom: #543781;
$custom-light: #876fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#543781",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 263.514,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.12068,
    "h": 299.1
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#543781
secondary
#91AB69
accent
#D058A1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #543781

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

Preview Lab → · Contrast checker → · Palette generator →

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