#543191#543191

#543191 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.151 H 295.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#543191
RGBrgb(84, 49, 145)
HSLhsl(262, 49%, 38%)
HSVhsv(262, 66%, 57%)
CMYKcmyk(42.1%, 66.2%, 0%, 43.1%)
CIE-LABlab(29.73, 37.87, -47.50)
CIE-LCHlch(29.73, 60.75, 308.56°)
OKLaboklab(41.06% 0.0656 -0.1355)
OKLCHoklch(41.06% 0.151 295.8)
XYZxyz(9.8640, 6.1256, 27.4452)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543191 #6E9131
analogous
#313E91 #543191 #843191
triadic
#543191 #915431 #319154
tetradic
#543191 #91313E #6E9131 #319184
square
#543191 #91313E #6E9131 #319184
split-complementary
#543191 #918431 #3E9131
monochromatic
#1F1236 #3A2263 #543191 #6F41BF #916ECE

Accessibility & contrast

On white

9.44
#543191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#543191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543191
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543191#FFFFFF#000000##FFFFFF
##5431911.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#44475C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #543191;
/* rgb */ color: rgb(84, 49, 145);
/* oklch */ color: oklch(41.1% 0.151 295.8);
Tailwind
colors: {
  custom: {
    50: '#896bb2',
    500: '#543191',
    950: '#000000',
  },
}
SCSS
$custom: #543191;
$custom-light: #896bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#543191",
  "rgb": {
    "r": 84,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 261.875,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4106,
    "c": 0.15054,
    "h": 295.8
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#543191
secondary
#99B668
accent
#D94FA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #543191

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

Preview Lab → · Contrast checker → · Palette generator →

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