#54134F#54134F

#54134F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.121 H 331.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#54134F
RGBrgb(84, 19, 79)
HSLhsl(305, 63%, 20%)
HSVhsv(305, 77%, 33%)
CMYKcmyk(0%, 77.4%, 6%, 67.1%)
CIE-LABlab(19.70, 37.14, -21.08)
CIE-LCHlch(19.70, 42.70, 330.42°)
OKLaboklab(32.37% 0.106 -0.058)
OKLCHoklch(32.37% 0.121 331.3)
XYZxyz(5.3003, 2.9155, 7.6792)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54134F #135418
analogous
#381354 #54134F #54132F
triadic
#54134F #4F5413 #134F54
tetradic
#54134F #543813 #135418 #132F54
square
#54134F #543813 #135418 #132F54
split-complementary
#54134F #2F5413 #135438
monochromatic
#190617 #220820 #54134F #861E7E #B82AAD

Accessibility & contrast

On white

13.27
#54134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#54134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54134F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54134F#FFFFFF#000000##FFFFFF
##54134F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A51
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#581B2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #54134f;
/* rgb */ color: rgb(84, 19, 79);
/* oklch */ color: oklch(32.4% 0.121 331.3);
Tailwind
colors: {
  custom: {
    50: '#875880',
    500: '#54134f',
    950: '#000000',
  },
}
SCSS
$custom: #54134f;
$custom-light: #875880;
$custom-dark: #000000;
JSON
{
  "hex": "#54134f",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 304.615,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.12085,
    "h": 331.3
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#54134F
secondary
#368C3D
accent
#E64E42
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #54134F

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

Preview Lab → · Contrast checker → · Palette generator →

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