#543794#543794

#543794 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.146 H 293.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#543794
RGBrgb(84, 55, 148)
HSLhsl(259, 46%, 40%)
HSVhsv(259, 63%, 58%)
CMYKcmyk(43.2%, 62.8%, 0%, 42%)
CIE-LABlab(31.24, 35.26, -46.88)
CIE-LCHlch(31.24, 58.66, 306.94°)
OKLaboklab(42.23% 0.0583 -0.1337)
OKLCHoklch(42.23% 0.146 293.5)
XYZxyz(10.3662, 6.7550, 28.7689)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543794 #779437
analogous
#374894 #543794 #833794
triadic
#543794 #945437 #379454
tetradic
#543794 #943748 #779437 #379483
square
#543794 #943748 #779437 #379483
split-complementary
#543794 #948337 #489437
monochromatic
#21163B #3B2667 #543794 #6F4CBC #9378CD

Accessibility & contrast

On white

8.93
#543794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#543794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543794
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543794#FFFFFF#000000##FFFFFF
##5437941.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#434C60
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #543794;
/* rgb */ color: rgb(84, 55, 148);
/* oklch */ color: oklch(42.2% 0.146 293.5);
Tailwind
colors: {
  custom: {
    50: '#896fb4',
    500: '#543794',
    950: '#000000',
  },
}
SCSS
$custom: #543794;
$custom-light: #896fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#543794",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 258.71,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.14586,
    "h": 293.5
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#543794
secondary
#A0B671
accent
#D552AD
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #543794

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

Preview Lab → · Contrast checker → · Palette generator →

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