#543CB1#543CB1

#543CB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.176 H 286.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#543CB1
RGBrgb(84, 60, 177)
HSLhsl(252, 49%, 46%)
HSVhsv(252, 66%, 69%)
CMYKcmyk(52.5%, 66.1%, 0%, 30.6%)
CIE-LABlab(34.58, 40.95, -58.95)
CIE-LCHlch(34.58, 71.77, 304.79°)
OKLaboklab(45.36% 0.0501 -0.1692)
OKLCHoklch(45.36% 0.176 286.5)
XYZxyz(13.2055, 8.2902, 42.4908)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB1 #99B13C
analogous
#3C5FB1 #543CB1 #8F3CB1
triadic
#543CB1 #B1543C #3CB154
tetradic
#543CB1 #B13C5F #99B13C #3CB18F
square
#543CB1 #B13C5F #99B13C #3CB18F
split-complementary
#543CB1 #B18F3C #5FB13C
monochromatic
#291D56 #3E2D83 #543CB1 #7661C9 #9E8FD9

Accessibility & contrast

On white

7.90
#543CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#543CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543CB1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB1#FFFFFF#000000##FFFFFF
##543CB11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#305971
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #543cb1;
/* rgb */ color: rgb(84, 60, 177);
/* oklch */ color: oklch(45.4% 0.176 286.5);
Tailwind
colors: {
  custom: {
    50: '#8d73c9',
    500: '#543cb1',
    950: '#000000',
  },
}
SCSS
$custom: #543cb1;
$custom-light: #8d73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb1",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 252.308,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.17643,
    "h": 286.5
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#543CB1
secondary
#B7C485
accent
#D94FBD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #543CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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