#54209A#54209A

#54209A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.181 H 296.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#54209A
RGBrgb(84, 32, 154)
HSLhsl(266, 66%, 36%)
HSVhsv(266, 79%, 60%)
CMYKcmyk(45.5%, 79.2%, 0%, 39.6%)
CIE-LABlab(27.44, 48.84, -56.75)
CIE-LCHlch(27.44, 74.88, 310.72°)
OKLaboklab(39.67% 0.0804 -0.1626)
OKLCHoklch(39.67% 0.181 296.3)
XYZxyz(10.0038, 5.2507, 31.0520)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54209A #669A20
analogous
#20299A #54209A #91209A
triadic
#54209A #9A5420 #209A54
tetradic
#54209A #9A2029 #669A20 #209A91
square
#54209A #9A2029 #669A20 #209A91
split-complementary
#54209A #9A9120 #299A20
monochromatic
#1D0B35 #381567 #54209A #702BCD #9058DC

Accessibility & contrast

On white

10.24
#54209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#54209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54209A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54209A#FFFFFF#000000##FFFFFF
##54209A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#41425D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #54209a;
/* rgb */ color: rgb(84, 32, 154);
/* oklch */ color: oklch(39.7% 0.181 296.3);
Tailwind
colors: {
  custom: {
    50: '#8b62b9',
    500: '#54209a',
    950: '#000000',
  },
}
SCSS
$custom: #54209a;
$custom-light: #8b62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54209a",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 265.574,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.18142,
    "h": 296.3
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#54209A
secondary
#93C056
accent
#E93FA0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #54209A

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

Preview Lab → · Contrast checker → · Palette generator →

#54209A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva