#54154B#54154B

#54154B is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.115 H 334.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#54154B
RGBrgb(84, 21, 75)
HSLhsl(309, 60%, 21%)
HSVhsv(309, 75%, 33%)
CMYKcmyk(0%, 75%, 10.7%, 67.1%)
CIE-LABlab(19.76, 35.61, -18.26)
CIE-LCHlch(19.76, 40.02, 332.85°)
OKLaboklab(32.34% 0.1033 -0.0499)
OKLCHoklch(32.34% 0.115 334.2)
XYZxyz(5.1944, 2.9296, 6.9471)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54154B #15541E
analogous
#3D1554 #54154B #54152B
triadic
#54154B #4B5415 #154B54
tetradic
#54154B #543D15 #15541E #152B54
square
#54154B #543D15 #15541E #152B54
split-complementary
#54154B #2B5415 #15543D
monochromatic
#180616 #23091F #54154B #852177 #B62DA2

Accessibility & contrast

On white

13.24
#54154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#54154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54154B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54154B#FFFFFF#000000##FFFFFF
##54154B1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#2A3349
Tritanopia (blue-blind)
#581A2E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #54154b;
/* rgb */ color: rgb(84, 21, 75);
/* oklch */ color: oklch(32.3% 0.115 334.2);
Tailwind
colors: {
  custom: {
    50: '#87597d',
    500: '#54154b',
    950: '#000000',
  },
}
SCSS
$custom: #54154b;
$custom-light: #87597d;
$custom-dark: #000000;
JSON
{
  "hex": "#54154b",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 308.571,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32336,
    "c": 0.11475,
    "h": 334.2
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#54154B
secondary
#398C45
accent
#E35B45
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #54154B

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

Preview Lab → · Contrast checker → · Palette generator →

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