#54146A#54146A

#54146A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.145 H 315.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#54146A
RGBrgb(84, 20, 106)
HSLhsl(285, 68%, 25%)
HSVhsv(285, 81%, 42%)
CMYKcmyk(20.8%, 81.1%, 0%, 58.4%)
CIE-LABlab(21.68, 42.15, -35.87)
CIE-LCHlch(21.68, 55.35, 319.60°)
OKLaboklab(34.36% 0.1032 -0.1012)
OKLCHoklch(34.36% 0.145 315.6)
XYZxyz(6.5074, 3.4260, 13.9514)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54146A #2A6A14
analogous
#29146A #54146A #6A1455
triadic
#54146A #6A5414 #146A54
tetradic
#54146A #6A2914 #2A6A14 #14556A
square
#54146A #6A2914 #2A6A14 #14556A
split-complementary
#54146A #556A14 #146A29
monochromatic
#14051A #2B0A37 #54146A #7D1E9D #A627D1

Accessibility & contrast

On white

12.46
#54146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#54146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54146A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54146A#FFFFFF#000000##FFFFFF
##54146A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#52283F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54146a;
/* rgb */ color: rgb(84, 20, 106);
/* oklch */ color: oklch(34.4% 0.145 315.6);
Tailwind
colors: {
  custom: {
    50: '#885a95',
    500: '#54146a',
    950: '#000000',
  },
}
SCSS
$custom: #54146a;
$custom-light: #885a95;
$custom-dark: #000000;
JSON
{
  "hex": "#54146a",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 284.651,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34363,
    "c": 0.14453,
    "h": 315.6
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#54146A
secondary
#53A139
accent
#EB3D69
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54146A

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

Preview Lab → · Contrast checker → · Palette generator →

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