#54115A#54115A

#54115A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.133 H 324.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#54115A
RGBrgb(84, 17, 90)
HSLhsl(295, 68%, 21%)
HSVhsv(295, 81%, 35%)
CMYKcmyk(6.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(20.14, 39.95, -27.79)
CIE-LCHlch(20.14, 48.66, 325.18°)
OKLaboklab(32.91% 0.1081 -0.0775)
OKLCHoklch(32.91% 0.133 324.4)
XYZxyz(5.7019, 3.0243, 9.9543)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54115A #175A11
analogous
#2F115A #54115A #5A113B
triadic
#54115A #5A5411 #115A54
tetradic
#54115A #5A2F11 #175A11 #113B5A
square
#54115A #5A2F11 #175A11 #113B5A
split-complementary
#54115A #3B5A11 #115A2F
monochromatic
#18051A #240727 #54115A #841B8D #B424C1

Accessibility & contrast

On white

13.09
#54115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#54115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54115A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54115A#FFFFFF#000000##FFFFFF
##54115A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#203358
Tritanopia (blue-blind)
#561F35
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54115a;
/* rgb */ color: rgb(84, 17, 90);
/* oklch */ color: oklch(32.9% 0.133 324.4);
Tailwind
colors: {
  custom: {
    50: '#875889',
    500: '#54115a',
    950: '#000000',
  },
}
SCSS
$custom: #54115a;
$custom-light: #875889;
$custom-dark: #000000;
JSON
{
  "hex": "#54115a",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 295.068,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32909,
    "c": 0.13297,
    "h": 324.4
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#54115A
secondary
#3C9334
accent
#EB3D4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #54115A

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

Preview Lab → · Contrast checker → · Palette generator →

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