#541C52#541C52

#541C52 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.6% C 0.110 H 329.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#541C52
RGBrgb(84, 28, 82)
HSLhsl(302, 50%, 22%)
HSVhsv(302, 67%, 33%)
CMYKcmyk(0%, 66.7%, 2.4%, 67.1%)
CIE-LABlab(21.30, 33.71, -20.59)
CIE-LCHlch(21.30, 39.50, 328.59°)
OKLaboklab(33.58% 0.0948 -0.0567)
OKLCHoklch(33.58% 0.11 329.1)
XYZxyz(5.5943, 3.3249, 8.3281)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C52 #1C541E
analogous
#3A1C54 #541C52 #541C36
triadic
#541C52 #52541C #1C5254
tetradic
#541C52 #543A1C #1C541E #1C3654
square
#541C52 #543A1C #1C541E #1C3654
split-complementary
#541C52 #36541C #1C543A
monochromatic
#170816 #260D25 #541C52 #822B7F #B03BAC

Accessibility & contrast

On white

12.61
#541C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#541C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C52
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C52#FFFFFF#000000##FFFFFF
##541C521.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#2A3650
Tritanopia (blue-blind)
#572234
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541c52;
/* rgb */ color: rgb(84, 28, 82);
/* oklch */ color: oklch(33.6% 0.110 329.1);
Tailwind
colors: {
  custom: {
    50: '#865d83',
    500: '#541c52',
    950: '#000000',
  },
}
SCSS
$custom: #541c52;
$custom-light: #865d83;
$custom-dark: #000000;
JSON
{
  "hex": "#541c52",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 302.143,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.11046,
    "h": 329.1
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#541C52
secondary
#428A45
accent
#DA534E
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541C52

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

Preview Lab → · Contrast checker → · Palette generator →

#541C52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva