#54136A#54136A

#54136A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.146 H 315.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#54136A
RGBrgb(84, 19, 106)
HSLhsl(285, 70%, 25%)
HSVhsv(285, 82%, 42%)
CMYKcmyk(20.8%, 82.1%, 0%, 58.4%)
CIE-LABlab(21.55, 42.52, -36.08)
CIE-LCHlch(21.55, 55.76, 319.69°)
OKLaboklab(34.27% 0.1041 -0.1018)
OKLCHoklch(34.27% 0.146 315.7)
XYZxyz(6.4901, 3.3914, 13.9456)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54136A #296A13
analogous
#29136A #54136A #6A1355
triadic
#54136A #6A5413 #136A54
tetradic
#54136A #6A2913 #296A13 #13556A
square
#54136A #6A2913 #296A13 #13556A
split-complementary
#54136A #556A13 #136A29
monochromatic
#15051A #2B0A36 #54136A #7D1C9E #A626D2

Accessibility & contrast

On white

12.51
#54136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#54136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54136A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54136A#FFFFFF#000000##FFFFFF
##54136A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#103568
Tritanopia (blue-blind)
#52273E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54136a;
/* rgb */ color: rgb(84, 19, 106);
/* oklch */ color: oklch(34.3% 0.146 315.7);
Tailwind
colors: {
  custom: {
    50: '#885995',
    500: '#54136a',
    950: '#000000',
  },
}
SCSS
$custom: #54136a;
$custom-light: #885995;
$custom-dark: #000000;
JSON
{
  "hex": "#54136a",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 284.828,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.1456,
    "h": 315.7
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#54136A
secondary
#52A138
accent
#EC3B68
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54136A

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

Preview Lab → · Contrast checker → · Palette generator →

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