#54164D#54164D

#54164D is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.115 H 332.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#54164D
RGBrgb(84, 22, 77)
HSLhsl(307, 58%, 21%)
HSVhsv(307, 74%, 33%)
CMYKcmyk(0%, 73.8%, 8.3%, 67.1%)
CIE-LABlab(20.02, 35.54, -19.21)
CIE-LCHlch(20.02, 40.40, 331.60°)
OKLaboklab(32.56% 0.1023 -0.0527)
OKLCHoklch(32.56% 0.115 332.8)
XYZxyz(5.2826, 2.9949, 7.3196)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54164D #16541D
analogous
#3C1654 #54164D #54162E
triadic
#54164D #4D5416 #164D54
tetradic
#54164D #543C16 #16541D #162E54
square
#54164D #543C16 #16541D #162E54
split-complementary
#54164D #2E5416 #16543C
monochromatic
#180616 #240921 #54164D #842379 #B52FA6

Accessibility & contrast

On white

13.13
#54164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#54164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54164D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54164D#FFFFFF#000000##FFFFFF
##54164D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#29344B
Tritanopia (blue-blind)
#581C2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #54164d;
/* rgb */ color: rgb(84, 22, 77);
/* oklch */ color: oklch(32.6% 0.115 332.8);
Tailwind
colors: {
  custom: {
    50: '#87597f',
    500: '#54164d',
    950: '#000000',
  },
}
SCSS
$custom: #54164d;
$custom-light: #87597f;
$custom-dark: #000000;
JSON
{
  "hex": "#54164d",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 306.774,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.11504,
    "h": 332.8
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#54164D
secondary
#3A8B44
accent
#E25846
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #54164D

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

Preview Lab → · Contrast checker → · Palette generator →

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