#54146D#54146D

#54146D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.147 H 314.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#54146D
RGBrgb(84, 20, 109)
HSLhsl(283, 69%, 25%)
HSVhsv(283, 82%, 43%)
CMYKcmyk(22.9%, 81.7%, 0%, 57.3%)
CIE-LABlab(21.91, 42.81, -37.45)
CIE-LCHlch(21.91, 56.88, 318.82°)
OKLaboklab(34.6% 0.1026 -0.1058)
OKLCHoklch(34.6% 0.147 314.1)
XYZxyz(6.6662, 3.4895, 14.7874)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54146D #2D6D14
analogous
#27146D #54146D #6D1459
triadic
#54146D #6D5414 #146D54
tetradic
#54146D #6D2714 #2D6D14 #14596D
square
#54146D #6D2714 #2D6D14 #14596D
split-complementary
#54146D #596D14 #146D27
monochromatic
#14051A #2C0B39 #54146D #7C1DA1 #A427D4

Accessibility & contrast

On white

12.37
#54146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#54146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54146D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54146D#FFFFFF#000000##FFFFFF
##54146D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#0C366B
Tritanopia (blue-blind)
#522940
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #54146d;
/* rgb */ color: rgb(84, 20, 109);
/* oklch */ color: oklch(34.6% 0.147 314.1);
Tailwind
colors: {
  custom: {
    50: '#885a97',
    500: '#54146d',
    950: '#000000',
  },
}
SCSS
$custom: #54146d;
$custom-light: #885a97;
$custom-dark: #000000;
JSON
{
  "hex": "#54146d",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 283.146,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34599,
    "c": 0.14742,
    "h": 314.1
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#54146D
secondary
#57A439
accent
#EC3C6D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #54146D

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

Preview Lab → · Contrast checker → · Palette generator →

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