#54145E#54145E

#54145E is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.133 H 321.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#54145E
RGBrgb(84, 20, 94)
HSLhsl(292, 65%, 22%)
HSVhsv(292, 79%, 37%)
CMYKcmyk(10.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(20.80, 39.64, -29.39)
CIE-LCHlch(20.80, 49.34, 323.44°)
OKLaboklab(33.47% 0.1047 -0.0822)
OKLCHoklch(33.47% 0.133 321.9)
XYZxyz(5.9265, 3.1936, 10.8918)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54145E #1E5E14
analogous
#2F145E #54145E #5E1443
triadic
#54145E #5E5414 #145E54
tetradic
#54145E #5E2F14 #1E5E14 #14435E
square
#54145E #5E2F14 #1E5E14 #14435E
split-complementary
#54145E #435E14 #145E2F
monochromatic
#170519 #27092C #54145E #811F90 #AE29C3

Accessibility & contrast

On white

12.82
#54145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#54145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54145E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54145E#FFFFFF#000000##FFFFFF
##54145E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#1E345C
Tritanopia (blue-blind)
#552238
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #54145e;
/* rgb */ color: rgb(84, 20, 94);
/* oklch */ color: oklch(33.5% 0.133 321.9);
Tailwind
colors: {
  custom: {
    50: '#87598c',
    500: '#54145e',
    950: '#000000',
  },
}
SCSS
$custom: #54145e;
$custom-light: #87598c;
$custom-dark: #000000;
JSON
{
  "hex": "#54145e",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 291.892,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33468,
    "c": 0.13313,
    "h": 321.9
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#54145E
secondary
#459638
accent
#E84057
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54145E

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

Preview Lab → · Contrast checker → · Palette generator →

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