#54184D#54184D

#54184D is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.112 H 332.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#54184D
RGBrgb(84, 24, 77)
HSLhsl(307, 56%, 21%)
HSVhsv(307, 71%, 33%)
CMYKcmyk(0%, 71.4%, 8.3%, 67.1%)
CIE-LABlab(20.34, 34.66, -18.72)
CIE-LCHlch(20.34, 39.39, 331.63°)
OKLaboklab(32.79% 0.0997 -0.0513)
OKLCHoklch(32.79% 0.112 332.8)
XYZxyz(5.3224, 3.0743, 7.3328)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54184D #18541F
analogous
#3D1854 #54184D #54182F
triadic
#54184D #4D5418 #184D54
tetradic
#54184D #543D18 #18541F #182F54
square
#54184D #543D18 #18541F #182F54
split-complementary
#54184D #2F5418 #18543D
monochromatic
#180716 #240A21 #54184D #842679 #B333A4

Accessibility & contrast

On white

13.00
#54184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#54184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54184D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54184D#FFFFFF#000000##FFFFFF
##54184D1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#2A344B
Tritanopia (blue-blind)
#581D30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54184d;
/* rgb */ color: rgb(84, 24, 77);
/* oklch */ color: oklch(32.8% 0.112 332.8);
Tailwind
colors: {
  custom: {
    50: '#865a7f',
    500: '#54184d',
    950: '#000000',
  },
}
SCSS
$custom: #54184d;
$custom-light: #865a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#54184d",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 307,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.11211,
    "h": 332.8
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#54184D
secondary
#3D8B46
accent
#DF5A49
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #54184D

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

Preview Lab → · Contrast checker → · Palette generator →

#54184D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva