#54115C#54115C

#54115C is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.135 H 323.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#54115C
RGBrgb(84, 17, 92)
HSLhsl(294, 69%, 21%)
HSVhsv(294, 82%, 36%)
CMYKcmyk(8.7%, 81.5%, 0%, 63.9%)
CIE-LABlab(20.28, 40.35, -28.90)
CIE-LCHlch(20.28, 49.63, 324.39°)
OKLaboklab(33.05% 0.1079 -0.0807)
OKLCHoklch(33.05% 0.135 323.2)
XYZxyz(5.7882, 3.0588, 10.4087)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54115C #195C11
analogous
#2F115C #54115C #5C113F
triadic
#54115C #5C5411 #115C54
tetradic
#54115C #5C2F11 #195C11 #113F5C
square
#54115C #5C2F11 #195C11 #113F5C
split-complementary
#54115C #3F5C11 #115C2F
monochromatic
#18051A #250728 #54115C #831B90 #B224C3

Accessibility & contrast

On white

13.03
#54115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54115C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54115C#FFFFFF#000000##FFFFFF
##54115C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54115c;
/* rgb */ color: rgb(84, 17, 92);
/* oklch */ color: oklch(33.1% 0.135 323.2);
Tailwind
colors: {
  custom: {
    50: '#87588a',
    500: '#54115c',
    950: '#000000',
  },
}
SCSS
$custom: #54115c;
$custom-light: #87588a;
$custom-dark: #000000;
JSON
{
  "hex": "#54115c",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 293.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.13476,
    "h": 323.2
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#54115C
secondary
#3E9534
accent
#EC3C4F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54115C

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

Preview Lab → · Contrast checker → · Palette generator →

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