#541552#541552

#541552 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.121 H 329.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#541552
RGBrgb(84, 21, 82)
HSLhsl(302, 60%, 21%)
HSVhsv(302, 75%, 33%)
CMYKcmyk(0%, 75%, 2.4%, 67.1%)
CIE-LABlab(20.17, 36.89, -22.37)
CIE-LCHlch(20.17, 43.14, 328.76°)
OKLaboklab(32.76% 0.1039 -0.0618)
OKLCHoklch(32.76% 0.121 329.3)
XYZxyz(5.4473, 3.0307, 8.2791)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541552 #155417
analogous
#361554 #541552 #541532
triadic
#541552 #525415 #155254
tetradic
#541552 #543615 #155417 #153254
square
#541552 #543615 #155417 #153254
split-complementary
#541552 #325415 #155436
monochromatic
#180618 #230922 #541552 #852182 #B62DB2

Accessibility & contrast

On white

13.08
#541552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#541552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541552
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541552#FFFFFF#000000##FFFFFF
##5415521.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2B54
Deuteranopia (green-blind)
#263450
Tritanopia (blue-blind)
#571D31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541552;
/* rgb */ color: rgb(84, 21, 82);
/* oklch */ color: oklch(32.8% 0.121 329.3);
Tailwind
colors: {
  custom: {
    50: '#875983',
    500: '#541552',
    950: '#000000',
  },
}
SCSS
$custom: #541552;
$custom-light: #875983;
$custom-dark: #000000;
JSON
{
  "hex": "#541552",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 301.905,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.12084,
    "h": 329.3
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#541552
secondary
#398C3C
accent
#E34A45
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541552

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

Preview Lab → · Contrast checker → · Palette generator →

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