#54104F#54104F

#54104F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.125 H 331.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#54104F
RGBrgb(84, 16, 79)
HSLhsl(304, 68%, 20%)
HSVhsv(304, 81%, 33%)
CMYKcmyk(0%, 81%, 6%, 67.1%)
CIE-LABlab(19.31, 38.26, -21.70)
CIE-LCHlch(19.31, 43.98, 330.44°)
OKLaboklab(32.09% 0.1093 -0.0598)
OKLCHoklch(32.09% 0.125 331.3)
XYZxyz(5.2527, 2.8203, 7.6633)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54104F #105415
analogous
#371054 #54104F #54102D
triadic
#54104F #4F5410 #104F54
tetradic
#54104F #543710 #105415 #102D54
square
#54104F #543710 #105415 #102D54
split-complementary
#54104F #2D5410 #105437
monochromatic
#1A0518 #21061F #54104F #871A7F #BB24B0

Accessibility & contrast

On white

13.43
#54104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#54104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54104F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54104F#FFFFFF#000000##FFFFFF
##54104F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2951
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#58182E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54104f;
/* rgb */ color: rgb(84, 16, 79);
/* oklch */ color: oklch(32.1% 0.125 331.3);
Tailwind
colors: {
  custom: {
    50: '#875780',
    500: '#54104f',
    950: '#000000',
  },
}
SCSS
$custom: #54104f;
$custom-light: #875780;
$custom-dark: #000000;
JSON
{
  "hex": "#54104f",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 304.412,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32087,
    "c": 0.12454,
    "h": 331.3
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#54104F
secondary
#328E39
accent
#EB4A3D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #54104F

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

Preview Lab → · Contrast checker → · Palette generator →

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