#54135A#54135A

#54135A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.131 H 324.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#54135A
RGBrgb(84, 19, 90)
HSLhsl(295, 65%, 21%)
HSVhsv(295, 79%, 35%)
CMYKcmyk(6.7%, 78.9%, 0%, 64.7%)
CIE-LABlab(20.40, 39.22, -27.38)
CIE-LCHlch(20.40, 47.83, 325.08°)
OKLaboklab(33.09% 0.106 -0.0763)
OKLCHoklch(33.09% 0.131 324.3)
XYZxyz(5.7343, 3.0891, 9.9651)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54135A #195A13
analogous
#31135A #54135A #5A133D
triadic
#54135A #5A5413 #135A54
tetradic
#54135A #5A3113 #195A13 #133D5A
square
#54135A #5A3113 #195A13 #133D5A
split-complementary
#54135A #3D5A13 #135A31
monochromatic
#180519 #250827 #54135A #831E8D #B228BF

Accessibility & contrast

On white

12.98
#54135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54135A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54135A#FFFFFF#000000##FFFFFF
##54135A1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#213458
Tritanopia (blue-blind)
#562035
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54135a;
/* rgb */ color: rgb(84, 19, 90);
/* oklch */ color: oklch(33.1% 0.131 324.3);
Tailwind
colors: {
  custom: {
    50: '#875989',
    500: '#54135a',
    950: '#000000',
  },
}
SCSS
$custom: #54135a;
$custom-light: #875989;
$custom-dark: #000000;
JSON
{
  "hex": "#54135a",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 294.93,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33091,
    "c": 0.13063,
    "h": 324.3
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#54135A
secondary
#3E9237
accent
#E8404E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #54135A

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

Preview Lab → · Contrast checker → · Palette generator →

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