#54135C#54135C

#54135C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.132 H 323.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#54135C
RGBrgb(84, 19, 92)
HSLhsl(293, 66%, 22%)
HSVhsv(293, 79%, 36%)
CMYKcmyk(8.7%, 79.3%, 0%, 63.9%)
CIE-LABlab(20.53, 39.62, -28.49)
CIE-LCHlch(20.53, 48.80, 324.27°)
OKLaboklab(33.23% 0.1059 -0.0796)
OKLCHoklch(33.23% 0.132 323.1)
XYZxyz(5.8206, 3.1236, 10.4195)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54135C #1B5C13
analogous
#30135C #54135C #5C1340
triadic
#54135C #5C5413 #135C54
tetradic
#54135C #5C3013 #1B5C13 #13405C
square
#54135C #5C3013 #1B5C13 #13405C
split-complementary
#54135C #405C13 #135C30
monochromatic
#170519 #260929 #54135C #821D8F #B128C1

Accessibility & contrast

On white

12.93
#54135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#54135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54135C
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54135C#FFFFFF#000000##FFFFFF
##54135C1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#1F345A
Tritanopia (blue-blind)
#552136
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54135c;
/* rgb */ color: rgb(84, 19, 92);
/* oklch */ color: oklch(33.2% 0.132 323.1);
Tailwind
colors: {
  custom: {
    50: '#87598a',
    500: '#54135c',
    950: '#000000',
  },
}
SCSS
$custom: #54135c;
$custom-light: #87598a;
$custom-dark: #000000;
JSON
{
  "hex": "#54135c",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 293.425,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.13246,
    "h": 323.1
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#54135C
secondary
#419437
accent
#E93F52
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54135C

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

Preview Lab → · Contrast checker → · Palette generator →

#54135C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva