#54135B#54135B

#54135B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.132 H 323.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#54135B
RGBrgb(84, 19, 91)
HSLhsl(294, 65%, 22%)
HSVhsv(294, 79%, 36%)
CMYKcmyk(7.7%, 79.1%, 0%, 64.3%)
CIE-LABlab(20.46, 39.42, -27.94)
CIE-LCHlch(20.46, 48.31, 324.67°)
OKLaboklab(33.16% 0.106 -0.0779)
OKLCHoklch(33.16% 0.132 323.7)
XYZxyz(5.7772, 3.1062, 10.1908)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54135B #1A5B13
analogous
#30135B #54135B #5B133E
triadic
#54135B #5B5413 #135B54
tetradic
#54135B #5B3013 #1A5B13 #133E5B
square
#54135B #5B3013 #1A5B13 #133E5B
split-complementary
#54135B #3E5B13 #135B30
monochromatic
#170519 #250828 #54135B #831E8E #B128C0

Accessibility & contrast

On white

12.95
#54135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#54135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54135B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54135B#FFFFFF#000000##FFFFFF
##54135B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#562036
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54135b;
/* rgb */ color: rgb(84, 19, 91);
/* oklch */ color: oklch(33.2% 0.132 323.7);
Tailwind
colors: {
  custom: {
    50: '#87598a',
    500: '#54135b',
    950: '#000000',
  },
}
SCSS
$custom: #54135b;
$custom-light: #87598a;
$custom-dark: #000000;
JSON
{
  "hex": "#54135b",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 294.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.13155,
    "h": 323.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#54135B
secondary
#409337
accent
#E83F50
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #54135B

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

Preview Lab → · Contrast checker → · Palette generator →

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