#54116E#54116E

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

Color values

HEX#54116E
RGBrgb(84, 17, 110)
HSLhsl(283, 73%, 25%)
HSVhsv(283, 85%, 43%)
CMYKcmyk(23.6%, 84.5%, 0%, 56.9%)
CIE-LABlab(21.62, 44.08, -38.56)
CIE-LCHlch(21.62, 58.56, 318.82°)
OKLaboklab(34.42% 0.105 -0.109)
OKLCHoklch(34.42% 0.151 313.9)
XYZxyz(6.6706, 3.4117, 15.0560)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54116E #2B6E11
analogous
#26116E #54116E #6E1159
triadic
#54116E #6E5411 #116E54
tetradic
#54116E #6E2611 #2B6E11 #11596E
square
#54116E #6E2611 #2B6E11 #11596E
split-complementary
#54116E #596E11 #116E26
monochromatic
#14041B #2C0939 #54116E #7C19A3 #A521D8

Accessibility & contrast

On white

12.48
#54116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#54116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54116E
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54116E#FFFFFF#000000##FFFFFF
##54116E1.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)
#003070
Deuteranopia (green-blind)
#06356C
Tritanopia (blue-blind)
#512840
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54116e;
/* rgb */ color: rgb(84, 17, 110);
/* oklch */ color: oklch(34.4% 0.151 313.9);
Tailwind
colors: {
  custom: {
    50: '#885998',
    500: '#54116e',
    950: '#000000',
  },
}
SCSS
$custom: #54116e;
$custom-light: #885998;
$custom-dark: #000000;
JSON
{
  "hex": "#54116e",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 283.226,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34425,
    "c": 0.1514,
    "h": 313.9
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#54116E
secondary
#55A535
accent
#F0386B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #54116E

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

Preview Lab → · Contrast checker → · Palette generator →

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