#54145B#54145B

#54145B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.130 H 323.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#54145B
RGBrgb(84, 20, 91)
HSLhsl(294, 64%, 22%)
HSVhsv(294, 78%, 36%)
CMYKcmyk(7.7%, 78%, 0%, 64.3%)
CIE-LABlab(20.60, 39.03, -27.72)
CIE-LCHlch(20.60, 47.87, 324.62°)
OKLaboklab(33.26% 0.1049 -0.0773)
OKLCHoklch(33.26% 0.13 323.6)
XYZxyz(5.7945, 3.1408, 10.1965)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54145B #1B5B14
analogous
#31145B #54145B #5B143F
triadic
#54145B #5B5414 #145B54
tetradic
#54145B #5B3114 #1B5B14 #143F5B
square
#54145B #5B3114 #1B5B14 #143F5B
split-complementary
#54145B #3F5B14 #145B31
monochromatic
#170619 #260929 #54145B #821F8D #B12ABF

Accessibility & contrast

On white

12.90
#54145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#54145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54145B
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54145B#FFFFFF#000000##FFFFFF
##54145B1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#562136
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #54145b;
/* rgb */ color: rgb(84, 20, 91);
/* oklch */ color: oklch(33.3% 0.130 323.6);
Tailwind
colors: {
  custom: {
    50: '#87598a',
    500: '#54145b',
    950: '#000000',
  },
}
SCSS
$custom: #54145b;
$custom-light: #87598a;
$custom-dark: #000000;
JSON
{
  "hex": "#54145b",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 294.085,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.13034,
    "h": 323.6
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#54145B
secondary
#419338
accent
#E74151
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #54145B

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

Preview Lab → · Contrast checker → · Palette generator →

#54145B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva