#54208B#54208B

#54208B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.165 H 300.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#54208B
RGBrgb(84, 32, 139)
HSLhsl(269, 63%, 34%)
HSVhsv(269, 77%, 55%)
CMYKcmyk(39.6%, 77%, 0%, 45.5%)
CIE-LABlab(26.10, 44.98, -49.68)
CIE-LCHlch(26.10, 67.02, 312.16°)
OKLaboklab(38.32% 0.0846 -0.1418)
OKLCHoklch(38.32% 0.165 300.8)
XYZxyz(8.8317, 4.7819, 24.8788)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54208B #578B20
analogous
#20218B #54208B #89208B
triadic
#54208B #8B5420 #208B54
tetradic
#54208B #8B2021 #578B20 #208B89
square
#54208B #8B2021 #578B20 #208B89
split-complementary
#54208B #8B8920 #218B20
monochromatic
#180928 #361559 #54208B #722BBD #914FD6

Accessibility & contrast

On white

10.73
#54208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#54208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54208B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54208B#FFFFFF#000000##FFFFFF
##54208B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#483C54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #54208b;
/* rgb */ color: rgb(84, 32, 139);
/* oklch */ color: oklch(38.3% 0.165 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a61ae',
    500: '#54208b',
    950: '#000000',
  },
}
SCSS
$custom: #54208b;
$custom-light: #8a61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#54208b",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 269.159,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.16513,
    "h": 300.8
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#54208B
secondary
#85BA4D
accent
#E64296
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #54208B

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

Preview Lab → · Contrast checker → · Palette generator →

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