#54104D#54104D

#54104D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.123 H 332.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#54104D
RGBrgb(84, 16, 77)
HSLhsl(306, 68%, 20%)
HSVhsv(306, 81%, 33%)
CMYKcmyk(0%, 81%, 8.3%, 67.1%)
CIE-LABlab(19.19, 37.90, -20.52)
CIE-LCHlch(19.19, 43.10, 331.56°)
OKLaboklab(31.96% 0.1092 -0.0564)
OKLCHoklch(31.96% 0.123 332.7)
XYZxyz(5.1810, 2.7917, 7.2857)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54104D #105417
analogous
#391054 #54104D #54102B
triadic
#54104D #4D5410 #104D54
tetradic
#54104D #543910 #105417 #102B54
square
#54104D #543910 #105417 #102B54
split-complementary
#54104D #2B5410 #105439
monochromatic
#1A0518 #21061E #54104D #871A7C #BB24AB

Accessibility & contrast

On white

13.48
#54104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54104D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54104D#FFFFFF#000000##FFFFFF
##54104D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284F
Deuteranopia (green-blind)
#27324B
Tritanopia (blue-blind)
#58172D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #54104d;
/* rgb */ color: rgb(84, 16, 77);
/* oklch */ color: oklch(32.0% 0.123 332.7);
Tailwind
colors: {
  custom: {
    50: '#87577f',
    500: '#54104d',
    950: '#000000',
  },
}
SCSS
$custom: #54104d;
$custom-light: #87577f;
$custom-dark: #000000;
JSON
{
  "hex": "#54104d",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 306.176,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.12288,
    "h": 332.7
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#54104D
secondary
#328E3C
accent
#EB4F3D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #54104D

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

Preview Lab → · Contrast checker → · Palette generator →

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