#54136E#54136E

#54136E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.149 H 313.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#54136E
RGBrgb(84, 19, 110)
HSLhsl(283, 71%, 25%)
HSVhsv(283, 83%, 43%)
CMYKcmyk(23.6%, 82.7%, 0%, 56.9%)
CIE-LABlab(21.86, 43.39, -38.17)
CIE-LCHlch(21.86, 57.79, 318.66°)
OKLaboklab(34.59% 0.1033 -0.1079)
OKLCHoklch(34.59% 0.149 313.8)
XYZxyz(6.7030, 3.4766, 15.0668)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54136E #2D6E13
analogous
#26136E #54136E #6E135A
triadic
#54136E #6E5413 #136E54
tetradic
#54136E #6E2613 #2D6E13 #135A6E
square
#54136E #6E2613 #2D6E13 #135A6E
split-complementary
#54136E #5A6E13 #136E26
monochromatic
#14051A #2C0A3A #54136E #7C1CA2 #A425D6

Accessibility & contrast

On white

12.39
#54136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#54136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54136E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54136E#FFFFFF#000000##FFFFFF
##54136E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#09366C
Tritanopia (blue-blind)
#512941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54136e;
/* rgb */ color: rgb(84, 19, 110);
/* oklch */ color: oklch(34.6% 0.149 313.8);
Tailwind
colors: {
  custom: {
    50: '#885a98',
    500: '#54136e',
    950: '#000000',
  },
}
SCSS
$custom: #54136e;
$custom-light: #885a98;
$custom-dark: #000000;
JSON
{
  "hex": "#54136e",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 282.857,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34591,
    "c": 0.14943,
    "h": 313.8
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#54136E
secondary
#57A538
accent
#ED3A6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #54136E

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

Preview Lab → · Contrast checker → · Palette generator →

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