#54136C#54136C

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

Color values

HEX#54136C
RGBrgb(84, 19, 108)
HSLhsl(284, 70%, 25%)
HSVhsv(284, 82%, 42%)
CMYKcmyk(22.2%, 82.4%, 0%, 57.6%)
CIE-LABlab(21.70, 42.95, -37.13)
CIE-LCHlch(21.70, 56.78, 319.16°)
OKLaboklab(34.43% 0.1037 -0.1049)
OKLCHoklch(34.43% 0.148 314.7)
XYZxyz(6.5954, 3.4335, 14.4998)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54136C #2B6C13
analogous
#27136C #54136C #6C1358
triadic
#54136C #6C5413 #136C54
tetradic
#54136C #6C2713 #2B6C13 #13586C
square
#54136C #6C2713 #2B6C13 #13586C
split-complementary
#54136C #586C13 #136C27
monochromatic
#14051A #2C0A38 #54136C #7C1CA0 #A525D4

Accessibility & contrast

On white

12.45
#54136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#54136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54136C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54136C#FFFFFF#000000##FFFFFF
##54136C1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#0D366A
Tritanopia (blue-blind)
#522840
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54136c;
/* rgb */ color: rgb(84, 19, 108);
/* oklch */ color: oklch(34.4% 0.148 314.7);
Tailwind
colors: {
  custom: {
    50: '#885a97',
    500: '#54136c',
    950: '#000000',
  },
}
SCSS
$custom: #54136c;
$custom-light: #885a97;
$custom-dark: #000000;
JSON
{
  "hex": "#54136c",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 283.82,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.14751,
    "h": 314.7
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#54136C
secondary
#55A338
accent
#ED3B6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54136C

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

Preview Lab → · Contrast checker → · Palette generator →

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