#54106A#54106A

#54106A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.149 H 315.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#54106A
RGBrgb(84, 16, 106)
HSLhsl(285, 74%, 24%)
HSVhsv(285, 85%, 42%)
CMYKcmyk(20.8%, 84.9%, 0%, 58.4%)
CIE-LABlab(21.19, 43.55, -36.65)
CIE-LCHlch(21.19, 56.92, 319.92°)
OKLaboklab(34.02% 0.1067 -0.1034)
OKLCHoklch(34.02% 0.149 315.9)
XYZxyz(6.4426, 3.2963, 13.9298)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54106A #266A10
analogous
#27106A #54106A #6A1053
triadic
#54106A #6A5410 #106A54
tetradic
#54106A #6A2710 #266A10 #10536A
square
#54106A #6A2710 #266A10 #10536A
split-complementary
#54106A #536A10 #106A27
monochromatic
#15041B #2A0835 #54106A #7E189F #A820D4

Accessibility & contrast

On white

12.66
#54106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#54106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54106A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54106A#FFFFFF#000000##FFFFFF
##54106A1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#0D3568
Tritanopia (blue-blind)
#52263E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #54106a;
/* rgb */ color: rgb(84, 16, 106);
/* oklch */ color: oklch(34.0% 0.149 315.9);
Tailwind
colors: {
  custom: {
    50: '#885895',
    500: '#54106a',
    950: '#000000',
  },
}
SCSS
$custom: #54106a;
$custom-light: #885895;
$custom-dark: #000000;
JSON
{
  "hex": "#54106a",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 285.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34024,
    "c": 0.14862,
    "h": 315.9
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#54106A
secondary
#4FA234
accent
#F03765
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54106A

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

Preview Lab → · Contrast checker → · Palette generator →

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