#543CB5#543CB5

#543CB5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.181 H 285.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#543CB5
RGBrgb(84, 60, 181)
HSLhsl(252, 50%, 47%)
HSVhsv(252, 67%, 71%)
CMYKcmyk(53.6%, 66.9%, 0%, 29%)
CIE-LABlab(34.91, 42.16, -60.79)
CIE-LCHlch(34.91, 73.97, 304.74°)
OKLaboklab(45.7% 0.0495 -0.1746)
OKLCHoklch(45.7% 0.181 285.8)
XYZxyz(13.6100, 8.4520, 44.6214)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543CB5 #9DB53C
analogous
#3C61B5 #543CB5 #913CB5
triadic
#543CB5 #B5543C #3CB554
tetradic
#543CB5 #B53C61 #9DB53C #3CB591
square
#543CB5 #B53C61 #9DB53C #3CB591
split-complementary
#543CB5 #B5913C #61B53C
monochromatic
#291E59 #3F2D87 #543CB5 #7863CB #9F91DB

Accessibility & contrast

On white

7.80
#543CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#543CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543CB5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543CB5#FFFFFF#000000##FFFFFF
##543CB51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#2C5A73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #543cb5;
/* rgb */ color: rgb(84, 60, 181);
/* oklch */ color: oklch(45.7% 0.181 285.8);
Tailwind
colors: {
  custom: {
    50: '#8d73cc',
    500: '#543cb5',
    950: '#000000',
  },
}
SCSS
$custom: #543cb5;
$custom-light: #8d73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#543cb5",
  "rgb": {
    "r": 84,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 251.901,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.18147,
    "h": 285.8
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #543CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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