#54105C#54105C

#54105C is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.136 H 323.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#54105C
RGBrgb(84, 16, 92)
HSLhsl(294, 70%, 21%)
HSVhsv(294, 83%, 36%)
CMYKcmyk(8.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(20.16, 40.69, -29.09)
CIE-LCHlch(20.16, 50.02, 324.44°)
OKLaboklab(32.97% 0.1088 -0.0813)
OKLCHoklch(32.97% 0.136 323.2)
XYZxyz(5.7730, 3.0285, 10.4036)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54105C #185C10
analogous
#2E105C #54105C #5C103E
triadic
#54105C #5C5410 #105C54
tetradic
#54105C #5C2E10 #185C10 #103E5C
square
#54105C #5C2E10 #185C10 #103E5C
split-complementary
#54105C #3E5C10 #105C2E
monochromatic
#18051A #240728 #54105C #841990 #B322C4

Accessibility & contrast

On white

13.08
#54105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54105C
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54105C#FFFFFF#000000##FFFFFF
##54105C1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#1D335A
Tritanopia (blue-blind)
#551F36
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54105c;
/* rgb */ color: rgb(84, 16, 92);
/* oklch */ color: oklch(33.0% 0.136 323.2);
Tailwind
colors: {
  custom: {
    50: '#87588a',
    500: '#54105c',
    950: '#000000',
  },
}
SCSS
$custom: #54105c;
$custom-light: #87588a;
$custom-dark: #000000;
JSON
{
  "hex": "#54105c",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 293.684,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.13585,
    "h": 323.2
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#54105C
secondary
#3D9533
accent
#ED3B4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54105C

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

Preview Lab → · Contrast checker → · Palette generator →

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