#541254#541254

#541254 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.126 H 328.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#541254
RGBrgb(84, 18, 84)
HSLhsl(300, 65%, 20%)
HSVhsv(300, 79%, 33%)
CMYKcmyk(0%, 78.6%, 0%, 67.1%)
CIE-LABlab(19.87, 38.44, -24.19)
CIE-LCHlch(19.87, 45.42, 327.82°)
OKLaboklab(32.59% 0.1073 -0.067)
OKLCHoklch(32.59% 0.126 328)
XYZxyz(5.4726, 2.9579, 8.6685)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541254 #125412
analogous
#331254 #541254 #541233
triadic
#541254 #545412 #125454
tetradic
#541254 #543312 #125412 #123354
square
#541254 #543312 #125412 #123354
split-complementary
#541254 #335412 #125433
monochromatic
#190519 #220722 #541254 #861D86 #B928B9

Accessibility & contrast

On white

13.19
#541254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#541254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541254
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541254#FFFFFF#000000##FFFFFF
##5412541.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062B56
Deuteranopia (green-blind)
#243352
Tritanopia (blue-blind)
#571C32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541254;
/* rgb */ color: rgb(84, 18, 84);
/* oklch */ color: oklch(32.6% 0.126 328.0);
Tailwind
colors: {
  custom: {
    50: '#875884',
    500: '#541254',
    950: '#000000',
  },
}
SCSS
$custom: #541254;
$custom-light: #875884;
$custom-dark: #000000;
JSON
{
  "hex": "#541254",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 300,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.12646,
    "h": 328
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#541254
secondary
#358D35
accent
#E84040
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541254

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

Preview Lab → · Contrast checker → · Palette generator →

#541254 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva