#543CB4#543CB4

#543CB4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.180 H 286.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#543CB4
RGBrgb(84, 60, 180)
HSLhsl(252, 50%, 47%)
HSVhsv(252, 67%, 71%)
CMYKcmyk(53.3%, 66.7%, 0%, 29.4%)
CIE-LABlab(34.82, 41.85, -60.33)
CIE-LCHlch(34.82, 73.42, 304.75°)
OKLaboklab(45.61% 0.0497 -0.1732)
OKLCHoklch(45.61% 0.18 286)
XYZxyz(13.5078, 8.4111, 44.0829)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB4 #9CB43C
analogous
#3C60B4 #543CB4 #903CB4
triadic
#543CB4 #B4543C #3CB454
tetradic
#543CB4 #B43C60 #9CB43C #3CB490
square
#543CB4 #B43C60 #9CB43C #3CB490
split-complementary
#543CB4 #B4903C #60B43C
monochromatic
#291D58 #3F2D86 #543CB4 #7762CB #9F90DA

Accessibility & contrast

On white

7.83
#543CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#543CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543CB4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB4#FFFFFF#000000##FFFFFF
##543CB41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#2D5A73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543cb4;
/* rgb */ color: rgb(84, 60, 180);
/* oklch */ color: oklch(45.6% 0.180 286.0);
Tailwind
colors: {
  custom: {
    50: '#8d73cb',
    500: '#543cb4',
    950: '#000000',
  },
}
SCSS
$custom: #543cb4;
$custom-light: #8d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb4",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 252,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.18022,
    "h": 286
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#543CB4
secondary
#B9C587
accent
#DA4EBE
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543CB4

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

Preview Lab → · Contrast checker → · Palette generator →

#543CB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva