#54155B#54155B

#54155B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.129 H 323.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#54155B
RGBrgb(84, 21, 91)
HSLhsl(294, 63%, 22%)
HSVhsv(294, 77%, 36%)
CMYKcmyk(7.7%, 76.9%, 0%, 64.3%)
CIE-LABlab(20.74, 38.63, -27.50)
CIE-LCHlch(20.74, 47.42, 324.56°)
OKLaboklab(33.36% 0.1038 -0.0767)
OKLCHoklch(33.36% 0.129 323.6)
XYZxyz(5.8125, 3.1768, 10.2025)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54155B #1C5B15
analogous
#31155B #54155B #5B153F
triadic
#54155B #5B5415 #155B54
tetradic
#54155B #5B3115 #1C5B15 #153F5B
square
#54155B #5B3115 #1C5B15 #153F5B
split-complementary
#54155B #3F5B15 #155B31
monochromatic
#170619 #260A29 #54155B #82208D #B02CBE

Accessibility & contrast

On white

12.84
#54155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#54155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54155B
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54155B#FFFFFF#000000##FFFFFF
##54155B1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#213459
Tritanopia (blue-blind)
#562136
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #54155b;
/* rgb */ color: rgb(84, 21, 91);
/* oklch */ color: oklch(33.4% 0.129 323.6);
Tailwind
colors: {
  custom: {
    50: '#875a8a',
    500: '#54155b',
    950: '#000000',
  },
}
SCSS
$custom: #54155b;
$custom-light: #875a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#54155b",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 294,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.12908,
    "h": 323.6
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#54155B
secondary
#429239
accent
#E64253
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #54155B

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

Preview Lab → · Contrast checker → · Palette generator →

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