#54116A#54116A

#54116A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.148 H 315.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#54116A
RGBrgb(84, 17, 106)
HSLhsl(285, 72%, 24%)
HSVhsv(285, 84%, 42%)
CMYKcmyk(20.8%, 84%, 0%, 58.4%)
CIE-LABlab(21.31, 43.22, -36.47)
CIE-LCHlch(21.31, 56.55, 319.84°)
OKLaboklab(34.1% 0.1059 -0.1029)
OKLCHoklch(34.1% 0.148 315.8)
XYZxyz(6.4577, 3.3266, 13.9348)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54116A #276A11
analogous
#28116A #54116A #6A1154
triadic
#54116A #6A5411 #116A54
tetradic
#54116A #6A2811 #276A11 #11546A
square
#54116A #6A2811 #276A11 #11546A
split-complementary
#54116A #546A11 #116A28
monochromatic
#15041A #2A0935 #54116A #7E199F #A822D3

Accessibility & contrast

On white

12.61
#54116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#54116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54116A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54116A#FFFFFF#000000##FFFFFF
##54116A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#0E3568
Tritanopia (blue-blind)
#52263E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #54116a;
/* rgb */ color: rgb(84, 17, 106);
/* oklch */ color: oklch(34.1% 0.148 315.8);
Tailwind
colors: {
  custom: {
    50: '#885995',
    500: '#54116a',
    950: '#000000',
  },
}
SCSS
$custom: #54116a;
$custom-light: #885995;
$custom-dark: #000000;
JSON
{
  "hex": "#54116a",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 285.169,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.14765,
    "h": 315.8
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#54116A
secondary
#50A235
accent
#EF3966
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54116A

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

Preview Lab → · Contrast checker → · Palette generator →

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