#54105E#54105E

#54105E is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.138 H 322.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#54105E
RGBrgb(84, 16, 94)
HSLhsl(292, 71%, 22%)
HSVhsv(292, 83%, 37%)
CMYKcmyk(10.6%, 83%, 0%, 63.1%)
CIE-LABlab(20.30, 41.09, -30.20)
CIE-LCHlch(20.30, 50.99, 323.69°)
OKLaboklab(33.11% 0.1086 -0.0845)
OKLCHoklch(33.11% 0.138 322.1)
XYZxyz(5.8616, 3.0639, 10.8701)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54105E #1A5E10
analogous
#2D105E #54105E #5E1041
triadic
#54105E #5E5410 #105E54
tetradic
#54105E #5E2D10 #1A5E10 #10415E
square
#54105E #5E2D10 #1A5E10 #10415E
split-complementary
#54105E #415E10 #105E2D
monochromatic
#17041A #25072A #54105E #831992 #B122C7

Accessibility & contrast

On white

13.02
#54105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#54105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54105E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54105E#FFFFFF#000000##FFFFFF
##54105E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#1C335C
Tritanopia (blue-blind)
#552037
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54105e;
/* rgb */ color: rgb(84, 16, 94);
/* oklch */ color: oklch(33.1% 0.138 322.1);
Tailwind
colors: {
  custom: {
    50: '#87588c',
    500: '#54105e',
    950: '#000000',
  },
}
SCSS
$custom: #54105e;
$custom-light: #87588c;
$custom-dark: #000000;
JSON
{
  "hex": "#54105e",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 292.308,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.13765,
    "h": 322.1
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#54105E
secondary
#409733
accent
#EE3A51
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54105E

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

Preview Lab → · Contrast checker → · Palette generator →

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