#54205F#54205F

#54205F is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.9% C 0.117 H 320.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#54205F
RGBrgb(84, 32, 95)
HSLhsl(290, 50%, 25%)
HSVhsv(290, 66%, 37%)
CMYKcmyk(11.6%, 66.3%, 0%, 62.7%)
CIE-LABlab(22.81, 34.41, -26.85)
CIE-LCHlch(22.81, 43.65, 322.03°)
OKLaboklab(34.93% 0.0901 -0.0749)
OKLCHoklch(34.93% 0.117 320.3)
XYZxyz(6.2380, 3.7444, 11.2184)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54205F #2B5F20
analogous
#35205F #54205F #5F204A
triadic
#54205F #5F5420 #205F54
tetradic
#54205F #5F3520 #2B5F20 #204A5F
square
#54205F #5F3520 #2B5F20 #204A5F
split-complementary
#54205F #4A5F20 #205F35
monochromatic
#140817 #2C1131 #54205F #7C2F8D #A53FBB

Accessibility & contrast

On white

12.01
#54205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#54205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54205F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54205F#FFFFFF#000000##FFFFFF
##54205F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103361
Deuteranopia (green-blind)
#25385D
Tritanopia (blue-blind)
#542A3C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #54205f;
/* rgb */ color: rgb(84, 32, 95);
/* oklch */ color: oklch(34.9% 0.117 320.3);
Tailwind
colors: {
  custom: {
    50: '#865f8d',
    500: '#54205f',
    950: '#000000',
  },
}
SCSS
$custom: #54205f;
$custom-light: #865f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#54205f",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 289.524,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.11715,
    "h": 320.3
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#54205F
secondary
#559347
accent
#D94F67
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #54205F

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

Preview Lab → · Contrast checker → · Palette generator →

#54205F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva