#543774#543774

#543774 is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.0% C 0.103 H 304.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#543774
RGBrgb(84, 55, 116)
HSLhsl(269, 36%, 34%)
HSVhsv(269, 53%, 45%)
CMYKcmyk(27.6%, 52.6%, 0%, 54.5%)
CIE-LABlab(29.10, 26.29, -30.40)
CIE-LCHlch(29.10, 40.19, 310.85°)
OKLaboklab(39.97% 0.0577 -0.0854)
OKLCHoklch(39.97% 0.103 304.1)
XYZxyz(8.1740, 5.8782, 17.2236)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543774 #577437
analogous
#373874 #543774 #723774
triadic
#543774 #745437 #377454
tetradic
#543774 #743738 #577437 #377472
square
#543774 #743738 #577437 #377472
split-complementary
#543774 #747237 #387437
monochromatic
#181021 #36234A #543774 #724B9E #916CB9

Accessibility & contrast

On white

9.65
#543774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#543774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543774
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543774#FFFFFF#000000##FFFFFF
##5437741.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#2C4572
Tritanopia (blue-blind)
#4E4250
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #543774;
/* rgb */ color: rgb(84, 55, 116);
/* oklch */ color: oklch(40.0% 0.103 304.1);
Tailwind
colors: {
  custom: {
    50: '#866f9c',
    500: '#543774',
    950: '#000000',
  },
}
SCSS
$custom: #543774;
$custom-light: #866f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#543774",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 268.525,
    "s": 35.673,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.10305,
    "h": 304.1
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#543774
secondary
#85A265
accent
#CC5C97
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #543774

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

Preview Lab → · Contrast checker → · Palette generator →

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