#54208A#54208A

#54208A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.164 H 301.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#54208A
RGBrgb(84, 32, 138)
HSLhsl(269, 62%, 33%)
HSVhsv(269, 77%, 54%)
CMYKcmyk(39.1%, 76.8%, 0%, 45.9%)
CIE-LABlab(26.02, 44.73, -49.19)
CIE-LCHlch(26.02, 66.49, 312.28°)
OKLaboklab(38.24% 0.0848 -0.1404)
OKLCHoklch(38.24% 0.164 301.1)
XYZxyz(8.7590, 4.7528, 24.4957)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54208A #568A20
analogous
#20218A #54208A #89208A
triadic
#54208A #8A5420 #208A54
tetradic
#54208A #8A2021 #568A20 #208A89
square
#54208A #8A2021 #568A20 #208A89
split-complementary
#54208A #8A8920 #218A20
monochromatic
#180927 #361458 #54208A #722CBC #914ED6

Accessibility & contrast

On white

10.77
#54208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#54208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54208A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54208A#FFFFFF#000000##FFFFFF
##54208A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#483B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #54208a;
/* rgb */ color: rgb(84, 32, 138);
/* oklch */ color: oklch(38.2% 0.164 301.1);
Tailwind
colors: {
  custom: {
    50: '#8a61ad',
    500: '#54208a',
    950: '#000000',
  },
}
SCSS
$custom: #54208a;
$custom-light: #8a61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#54208a",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 269.434,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.16403,
    "h": 301.1
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#54208A
secondary
#84B94D
accent
#E54295
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #54208A

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

Preview Lab → · Contrast checker → · Palette generator →

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