#54155E#54155E

#54155E is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.132 H 321.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#54155E
RGBrgb(84, 21, 94)
HSLhsl(292, 63%, 23%)
HSVhsv(292, 78%, 37%)
CMYKcmyk(10.6%, 77.7%, 0%, 63.1%)
CIE-LABlab(20.94, 39.24, -29.17)
CIE-LCHlch(20.94, 48.89, 323.38°)
OKLaboklab(33.57% 0.1037 -0.0815)
OKLCHoklch(33.57% 0.132 321.8)
XYZxyz(5.9445, 3.2296, 10.8978)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54155E #1F5E15
analogous
#30155E #54155E #5E1543
triadic
#54155E #5E5415 #155E54
tetradic
#54155E #5E3015 #1F5E15 #15435E
square
#54155E #5E3015 #1F5E15 #15435E
split-complementary
#54155E #435E15 #155E30
monochromatic
#160619 #270A2C #54155E #812090 #AD2BC2

Accessibility & contrast

On white

12.76
#54155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#54155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54155E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54155E#FFFFFF#000000##FFFFFF
##54155E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#552338
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #54155e;
/* rgb */ color: rgb(84, 21, 94);
/* oklch */ color: oklch(33.6% 0.132 321.8);
Tailwind
colors: {
  custom: {
    50: '#875a8c',
    500: '#54155e',
    950: '#000000',
  },
}
SCSS
$custom: #54155e;
$custom-light: #875a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#54155e",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 291.781,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.1319,
    "h": 321.8
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#54155E
secondary
#469539
accent
#E74158
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54155E

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

Preview Lab → · Contrast checker → · Palette generator →

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