#54136F#54136F

#54136F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.150 H 313.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#54136F
RGBrgb(84, 19, 111)
HSLhsl(282, 71%, 25%)
HSVhsv(282, 83%, 44%)
CMYKcmyk(24.3%, 82.9%, 0%, 56.5%)
CIE-LABlab(21.94, 43.61, -38.69)
CIE-LCHlch(21.94, 58.30, 318.42°)
OKLaboklab(34.67% 0.1031 -0.1095)
OKLCHoklch(34.67% 0.15 313.3)
XYZxyz(6.7578, 3.4985, 15.3551)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54136F #2E6F13
analogous
#26136F #54136F #6F135C
triadic
#54136F #6F5413 #136F54
tetradic
#54136F #6F2613 #2E6F13 #135C6F
square
#54136F #6F2613 #2E6F13 #135C6F
split-complementary
#54136F #5C6F13 #136F26
monochromatic
#14041A #2C0A3B #54136F #7C1CA3 #A325D8

Accessibility & contrast

On white

12.36
#54136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54136F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54136F#FFFFFF#000000##FFFFFF
##54136F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#06366D
Tritanopia (blue-blind)
#512941
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #54136f;
/* rgb */ color: rgb(84, 19, 111);
/* oklch */ color: oklch(34.7% 0.150 313.3);
Tailwind
colors: {
  custom: {
    50: '#885a99',
    500: '#54136f',
    950: '#000000',
  },
}
SCSS
$custom: #54136f;
$custom-light: #885a99;
$custom-dark: #000000;
JSON
{
  "hex": "#54136f",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 282.391,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.15038,
    "h": 313.3
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#54136F
secondary
#58A638
accent
#EE3A6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #54136F

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

Preview Lab → · Contrast checker → · Palette generator →

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