#54105F#54105F

#54105F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.139 H 321.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#54105F
RGBrgb(84, 16, 95)
HSLhsl(292, 71%, 22%)
HSVhsv(292, 83%, 37%)
CMYKcmyk(11.6%, 83.2%, 0%, 62.7%)
CIE-LABlab(20.37, 41.29, -30.75)
CIE-LCHlch(20.37, 51.48, 323.32°)
OKLaboklab(33.18% 0.1085 -0.0861)
OKLCHoklch(33.18% 0.139 321.6)
XYZxyz(5.9068, 3.0820, 11.1080)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54105F #1B5F10
analogous
#2D105F #54105F #5F1043
triadic
#54105F #5F5410 #105F54
tetradic
#54105F #5F2D10 #1B5F10 #10435F
square
#54105F #5F2D10 #1B5F10 #10435F
split-complementary
#54105F #435F10 #105F2D
monochromatic
#17041A #26072B #54105F #821993 #B122C8

Accessibility & contrast

On white

12.99
#54105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#54105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54105F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54105F#FFFFFF#000000##FFFFFF
##54105F1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54105f;
/* rgb */ color: rgb(84, 16, 95);
/* oklch */ color: oklch(33.2% 0.139 321.6);
Tailwind
colors: {
  custom: {
    50: '#87588d',
    500: '#54105f',
    950: '#000000',
  },
}
SCSS
$custom: #54105f;
$custom-light: #87588d;
$custom-dark: #000000;
JSON
{
  "hex": "#54105f",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 291.646,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.13855,
    "h": 321.6
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#54105F
secondary
#419833
accent
#EE3A53
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54105F

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

Preview Lab → · Contrast checker → · Palette generator →

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