#54115B#54115B

#54115B is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.134 H 323.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#54115B
RGBrgb(84, 17, 91)
HSLhsl(294, 69%, 21%)
HSVhsv(294, 81%, 36%)
CMYKcmyk(7.7%, 81.3%, 0%, 64.3%)
CIE-LABlab(20.21, 40.15, -28.34)
CIE-LCHlch(20.21, 49.15, 324.78°)
OKLaboklab(32.98% 0.108 -0.0791)
OKLCHoklch(32.98% 0.134 323.8)
XYZxyz(5.7448, 3.0414, 10.1800)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54115B #185B11
analogous
#2F115B #54115B #5B113D
triadic
#54115B #5B5411 #115B54
tetradic
#54115B #5B2F11 #185B11 #113D5B
square
#54115B #5B2F11 #185B11 #113D5B
split-complementary
#54115B #3D5B11 #115B2F
monochromatic
#18051A #240727 #54115B #841B8F #B324C2

Accessibility & contrast

On white

13.06
#54115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54115B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54115B#FFFFFF#000000##FFFFFF
##54115B1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#1F3359
Tritanopia (blue-blind)
#561F35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54115b;
/* rgb */ color: rgb(84, 17, 91);
/* oklch */ color: oklch(33.0% 0.134 323.8);
Tailwind
colors: {
  custom: {
    50: '#87588a',
    500: '#54115b',
    950: '#000000',
  },
}
SCSS
$custom: #54115b;
$custom-light: #87588a;
$custom-dark: #000000;
JSON
{
  "hex": "#54115b",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 294.324,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32979,
    "c": 0.13386,
    "h": 323.8
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#54115B
secondary
#3D9434
accent
#EB3C4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54115B

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

Preview Lab → · Contrast checker → · Palette generator →

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