#54106F#54106F

#54106F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.153 H 313.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#54106F
RGBrgb(84, 16, 111)
HSLhsl(283, 75%, 25%)
HSVhsv(283, 86%, 44%)
CMYKcmyk(24.3%, 85.6%, 0%, 56.5%)
CIE-LABlab(21.59, 44.62, -39.25)
CIE-LCHlch(21.59, 59.43, 318.66°)
OKLaboklab(34.43% 0.1056 -0.1111)
OKLCHoklch(34.43% 0.153 313.5)
XYZxyz(6.7102, 3.4033, 15.3393)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54106F #2B6F10
analogous
#24106F #54106F #6F105B
triadic
#54106F #6F5410 #106F54
tetradic
#54106F #6F2410 #2B6F10 #105B6F
square
#54106F #6F2410 #2B6F10 #105B6F
split-complementary
#54106F #5B6F10 #106F24
monochromatic
#14041B #2C083A #54106F #7C18A4 #A51FDA

Accessibility & contrast

On white

12.50
#54106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#54106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54106F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54106F#FFFFFF#000000##FFFFFF
##54106F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#03356D
Tritanopia (blue-blind)
#512841
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54106f;
/* rgb */ color: rgb(84, 16, 111);
/* oklch */ color: oklch(34.4% 0.153 313.5);
Tailwind
colors: {
  custom: {
    50: '#885999',
    500: '#54106f',
    950: '#000000',
  },
}
SCSS
$custom: #54106f;
$custom-light: #885999;
$custom-dark: #000000;
JSON
{
  "hex": "#54106f",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 282.947,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34429,
    "c": 0.15327,
    "h": 313.5
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#54106F
secondary
#55A734
accent
#F1366C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #54106F

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

Preview Lab → · Contrast checker → · Palette generator →

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