#54114E#54114E

#54114E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.123 H 332.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#54114E
RGBrgb(84, 17, 78)
HSLhsl(305, 66%, 20%)
HSVhsv(305, 80%, 33%)
CMYKcmyk(0%, 79.8%, 7.1%, 67.1%)
CIE-LABlab(19.38, 37.72, -20.91)
CIE-LCHlch(19.38, 43.13, 330.99°)
OKLaboklab(32.12% 0.1082 -0.0575)
OKLCHoklch(32.12% 0.123 332)
XYZxyz(5.2318, 2.8362, 7.4781)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54114E #115417
analogous
#391154 #54114E #54112D
triadic
#54114E #4E5411 #114E54
tetradic
#54114E #543911 #115417 #112D54
square
#54114E #543911 #115417 #112D54
split-complementary
#54114E #2D5411 #115439
monochromatic
#190518 #21071F #54114E #871B7D #BA26AD

Accessibility & contrast

On white

13.40
#54114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#54114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54114E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54114E#FFFFFF#000000##FFFFFF
##54114E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2950
Deuteranopia (green-blind)
#27324C
Tritanopia (blue-blind)
#58192E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54114e;
/* rgb */ color: rgb(84, 17, 78);
/* oklch */ color: oklch(32.1% 0.123 332.0);
Tailwind
colors: {
  custom: {
    50: '#875780',
    500: '#54114e',
    950: '#000000',
  },
}
SCSS
$custom: #54114e;
$custom-light: #875780;
$custom-dark: #000000;
JSON
{
  "hex": "#54114e",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 305.373,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32115,
    "c": 0.12252,
    "h": 332
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#54114E
secondary
#348D3C
accent
#E94E3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #54114E

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

Preview Lab → · Contrast checker → · Palette generator →

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