#54145F#54145F

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

Color values

HEX#54145F
RGBrgb(84, 20, 95)
HSLhsl(291, 65%, 23%)
HSVhsv(291, 79%, 37%)
CMYKcmyk(11.6%, 78.9%, 0%, 62.7%)
CIE-LABlab(20.87, 39.84, -29.94)
CIE-LCHlch(20.87, 49.83, 323.07°)
OKLaboklab(33.54% 0.1047 -0.0838)
OKLCHoklch(33.54% 0.134 321.3)
XYZxyz(5.9716, 3.2117, 11.1296)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54145F #1F5F14
analogous
#2F145F #54145F #5F1444
triadic
#54145F #5F5414 #145F54
tetradic
#54145F #5F2F14 #1F5F14 #14445F
square
#54145F #5F2F14 #1F5F14 #14445F
split-complementary
#54145F #445F14 #145F2F
monochromatic
#160519 #27092C #54145F #811F92 #AD29C4

Accessibility & contrast

On white

12.79
#54145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54145F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54145F#FFFFFF#000000##FFFFFF
##54145F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#1D345D
Tritanopia (blue-blind)
#552338
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #54145f;
/* rgb */ color: rgb(84, 20, 95);
/* oklch */ color: oklch(33.5% 0.134 321.3);
Tailwind
colors: {
  custom: {
    50: '#87598d',
    500: '#54145f',
    950: '#000000',
  },
}
SCSS
$custom: #54145f;
$custom-light: #87598d;
$custom-dark: #000000;
JSON
{
  "hex": "#54145f",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 291.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33539,
    "c": 0.13407,
    "h": 321.3
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#54145F
secondary
#469738
accent
#E84058
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54145F

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

Preview Lab → · Contrast checker → · Palette generator →

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