#543791#543791

#543791 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.0% C 0.142 H 294.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#543791
RGBrgb(84, 55, 145)
HSLhsl(259, 45%, 39%)
HSVhsv(259, 62%, 57%)
CMYKcmyk(42.1%, 62.1%, 0%, 43.1%)
CIE-LABlab(31.02, 34.39, -45.40)
CIE-LCHlch(31.02, 56.95, 307.14°)
OKLaboklab(42% 0.0584 -0.1294)
OKLCHoklch(42% 0.142 294.3)
XYZxyz(10.1318, 6.6613, 27.5345)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543791 #749137
analogous
#374791 #543791 #813791
triadic
#543791 #915437 #379154
tetradic
#543791 #913747 #749137 #379181
square
#543791 #913747 #749137 #379181
split-complementary
#543791 #918137 #479137
monochromatic
#211538 #3A2665 #543791 #6F4BBB #9277CB

Accessibility & contrast

On white

9.00
#543791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#543791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543791
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543791#FFFFFF#000000##FFFFFF
##5437911.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#03488F
Tritanopia (blue-blind)
#444B5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #543791;
/* rgb */ color: rgb(84, 55, 145);
/* oklch */ color: oklch(42.0% 0.142 294.3);
Tailwind
colors: {
  custom: {
    50: '#896fb2',
    500: '#543791',
    950: '#000000',
  },
}
SCSS
$custom: #543791;
$custom-light: #896fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#543791",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 259.333,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42,
    "c": 0.14195,
    "h": 294.3
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#543791
secondary
#9EB470
accent
#D553AB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #543791

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

Preview Lab → · Contrast checker → · Palette generator →

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