#54136B#54136B

#54136B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.147 H 315.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#54136B
RGBrgb(84, 19, 107)
HSLhsl(284, 70%, 25%)
HSVhsv(284, 82%, 42%)
CMYKcmyk(21.5%, 82.2%, 0%, 58%)
CIE-LABlab(21.62, 42.74, -36.60)
CIE-LCHlch(21.62, 56.27, 319.42°)
OKLaboklab(34.35% 0.1039 -0.1033)
OKLCHoklch(34.35% 0.147 315.2)
XYZxyz(6.5424, 3.4123, 14.2211)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54136B #2A6B13
analogous
#28136B #54136B #6B1356
triadic
#54136B #6B5413 #136B54
tetradic
#54136B #6B2813 #2A6B13 #13566B
square
#54136B #6B2813 #2A6B13 #13566B
split-complementary
#54136B #566B13 #136B28
monochromatic
#14051A #2B0A37 #54136B #7D1C9F #A625D3

Accessibility & contrast

On white

12.48
#54136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54136B
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54136B#FFFFFF#000000##FFFFFF
##54136B1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#0F3569
Tritanopia (blue-blind)
#52283F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54136b;
/* rgb */ color: rgb(84, 19, 107);
/* oklch */ color: oklch(34.4% 0.147 315.2);
Tailwind
colors: {
  custom: {
    50: '#885a96',
    500: '#54136b',
    950: '#000000',
  },
}
SCSS
$custom: #54136b;
$custom-light: #885a96;
$custom-dark: #000000;
JSON
{
  "hex": "#54136b",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 284.318,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.14656,
    "h": 315.2
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#54136B
secondary
#53A238
accent
#ED3B6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54136B

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

Preview Lab → · Contrast checker → · Palette generator →

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