#54115F#54115F

#54115F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.137 H 321.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#54115F
RGBrgb(84, 17, 95)
HSLhsl(292, 70%, 22%)
HSVhsv(292, 82%, 37%)
CMYKcmyk(11.6%, 82.1%, 0%, 62.7%)
CIE-LABlab(20.49, 40.94, -30.56)
CIE-LCHlch(20.49, 51.09, 323.27°)
OKLaboklab(33.27% 0.1076 -0.0856)
OKLCHoklch(33.27% 0.137 321.5)
XYZxyz(5.9219, 3.1123, 11.1131)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54115F #1C5F11
analogous
#2D115F #54115F #5F1143
triadic
#54115F #5F5411 #115F54
tetradic
#54115F #5F2D11 #1C5F11 #11435F
square
#54115F #5F2D11 #1C5F11 #11435F
split-complementary
#54115F #435F11 #115F2D
monochromatic
#17051A #26082B #54115F #821A93 #B024C7

Accessibility & contrast

On white

12.94
#54115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54115F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54115F#FFFFFF#000000##FFFFFF
##54115F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#1C345D
Tritanopia (blue-blind)
#552138
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54115f;
/* rgb */ color: rgb(84, 17, 95);
/* oklch */ color: oklch(33.3% 0.137 321.5);
Tailwind
colors: {
  custom: {
    50: '#87588d',
    500: '#54115f',
    950: '#000000',
  },
}
SCSS
$custom: #54115f;
$custom-light: #87588d;
$custom-dark: #000000;
JSON
{
  "hex": "#54115f",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 291.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.13748,
    "h": 321.5
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#54115F
secondary
#429834
accent
#EC3B54
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #54115F

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

Preview Lab → · Contrast checker → · Palette generator →

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