#54106D#54106D

#54106D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.151 H 314.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#54106D
RGBrgb(84, 16, 109)
HSLhsl(284, 74%, 25%)
HSVhsv(284, 85%, 43%)
CMYKcmyk(22.9%, 85.3%, 0%, 57.3%)
CIE-LABlab(21.43, 44.19, -38.22)
CIE-LCHlch(21.43, 58.42, 319.14°)
OKLaboklab(34.27% 0.1061 -0.108)
OKLCHoklch(34.27% 0.151 314.5)
XYZxyz(6.6013, 3.3598, 14.7658)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54106D #296D10
analogous
#26106D #54106D #6D1058
triadic
#54106D #6D5410 #106D54
tetradic
#54106D #6D2610 #296D10 #10586D
square
#54106D #6D2610 #296D10 #10586D
split-complementary
#54106D #586D10 #106D26
monochromatic
#15041B #2B0838 #54106D #7D18A2 #A620D8

Accessibility & contrast

On white

12.56
#54106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#54106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54106D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54106D#FFFFFF#000000##FFFFFF
##54106D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#52273F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #54106d;
/* rgb */ color: rgb(84, 16, 109);
/* oklch */ color: oklch(34.3% 0.151 314.5);
Tailwind
colors: {
  custom: {
    50: '#885997',
    500: '#54106d',
    950: '#000000',
  },
}
SCSS
$custom: #54106d;
$custom-light: #885997;
$custom-dark: #000000;
JSON
{
  "hex": "#54106d",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 283.871,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34265,
    "c": 0.15141,
    "h": 314.5
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#54106D
secondary
#52A534
accent
#F13769
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54106D

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

Preview Lab → · Contrast checker → · Palette generator →

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