#54116F#54116F

#54116F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.5% C 0.152 H 313.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#54116F
RGBrgb(84, 17, 111)
HSLhsl(283, 73%, 25%)
HSVhsv(283, 85%, 44%)
CMYKcmyk(24.3%, 84.7%, 0%, 56.5%)
CIE-LABlab(21.70, 44.29, -39.07)
CIE-LCHlch(21.70, 59.06, 318.58°)
OKLaboklab(34.51% 0.1048 -0.1106)
OKLCHoklch(34.51% 0.152 313.5)
XYZxyz(6.7253, 3.4336, 15.3443)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54116F #2C6F11
analogous
#25116F #54116F #6F115B
triadic
#54116F #6F5411 #116F54
tetradic
#54116F #6F2511 #2C6F11 #115B6F
square
#54116F #6F2511 #2C6F11 #115B6F
split-complementary
#54116F #5B6F11 #116F25
monochromatic
#14041B #2C093A #54116F #7C19A4 #A421D9

Accessibility & contrast

On white

12.45
#54116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#54116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54116F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54116F#FFFFFF#000000##FFFFFF
##54116F1.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)
#003171
Deuteranopia (green-blind)
#04356D
Tritanopia (blue-blind)
#512941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54116f;
/* rgb */ color: rgb(84, 17, 111);
/* oklch */ color: oklch(34.5% 0.152 313.5);
Tailwind
colors: {
  custom: {
    50: '#885999',
    500: '#54116f',
    950: '#000000',
  },
}
SCSS
$custom: #54116f;
$custom-light: #885999;
$custom-dark: #000000;
JSON
{
  "hex": "#54116f",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 282.766,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.15234,
    "h": 313.5
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#54116F
secondary
#56A635
accent
#F0386D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #54116F

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

Preview Lab → · Contrast checker → · Palette generator →

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