#541471#541471

#541471 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.151 H 312.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#541471
RGBrgb(84, 20, 113)
HSLhsl(281, 70%, 26%)
HSVhsv(281, 82%, 44%)
CMYKcmyk(25.7%, 82.3%, 0%, 55.7%)
CIE-LABlab(22.22, 43.69, -39.52)
CIE-LCHlch(22.22, 58.91, 317.87°)
OKLaboklab(34.92% 0.1018 -0.1119)
OKLCHoklch(34.92% 0.151 312.3)
XYZxyz(6.8864, 3.5776, 15.9474)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541471 #317114
analogous
#251471 #541471 #71145F
triadic
#541471 #715414 #147154
tetradic
#541471 #712514 #317114 #145F71
square
#541471 #712514 #317114 #145F71
split-complementary
#541471 #5F7114 #147125
monochromatic
#13051A #2D0B3D #541471 #7B1DA5 #A127D9

Accessibility & contrast

On white

12.24
#541471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541471
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541471#FFFFFF#000000##FFFFFF
##5414711.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#03366F
Tritanopia (blue-blind)
#512B43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541471;
/* rgb */ color: rgb(84, 20, 113);
/* oklch */ color: oklch(34.9% 0.151 312.3);
Tailwind
colors: {
  custom: {
    50: '#885a9a',
    500: '#541471',
    950: '#000000',
  },
}
SCSS
$custom: #541471;
$custom-light: #885a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541471",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 281.29,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.15129,
    "h": 312.3
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#541471
secondary
#5CA739
accent
#ED3B72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541471

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

Preview Lab → · Contrast checker → · Palette generator →

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