#54116D#54116D

#54116D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 314.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#54116D
RGBrgb(84, 17, 109)
HSLhsl(284, 73%, 25%)
HSVhsv(284, 84%, 43%)
CMYKcmyk(22.9%, 84.4%, 0%, 57.3%)
CIE-LABlab(21.54, 43.86, -38.04)
CIE-LCHlch(21.54, 58.06, 319.07°)
OKLaboklab(34.34% 0.1053 -0.1075)
OKLCHoklch(34.34% 0.15 314.4)
XYZxyz(6.6165, 3.3901, 14.7709)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54116D #2A6D11
analogous
#26116D #54116D #6D1158
triadic
#54116D #6D5411 #116D54
tetradic
#54116D #6D2611 #2A6D11 #11586D
square
#54116D #6D2611 #2A6D11 #11586D
split-complementary
#54116D #586D11 #116D26
monochromatic
#14041A #2B0938 #54116D #7D19A2 #A622D7

Accessibility & contrast

On white

12.51
#54116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54116D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54116D#FFFFFF#000000##FFFFFF
##54116D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#08356B
Tritanopia (blue-blind)
#522840
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54116d;
/* rgb */ color: rgb(84, 17, 109);
/* oklch */ color: oklch(34.3% 0.150 314.4);
Tailwind
colors: {
  custom: {
    50: '#885997',
    500: '#54116d',
    950: '#000000',
  },
}
SCSS
$custom: #54116d;
$custom-light: #885997;
$custom-dark: #000000;
JSON
{
  "hex": "#54116d",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 283.696,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34344,
    "c": 0.15046,
    "h": 314.4
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#54116D
secondary
#53A535
accent
#F0386A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54116D

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

Preview Lab → · Contrast checker → · Palette generator →

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