#541D52#541D52

#541D52 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.109 H 329.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#541D52
RGBrgb(84, 29, 82)
HSLhsl(302, 49%, 22%)
HSVhsv(302, 65%, 33%)
CMYKcmyk(0%, 65.5%, 2.4%, 67.1%)
CIE-LABlab(21.48, 33.22, -20.30)
CIE-LCHlch(21.48, 38.93, 328.57°)
OKLaboklab(33.71% 0.0934 -0.0559)
OKLCHoklch(33.71% 0.109 329.1)
XYZxyz(5.6185, 3.3731, 8.3362)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D52 #1D541F
analogous
#3B1D54 #541D52 #541D37
triadic
#541D52 #52541D #1D5254
tetradic
#541D52 #543B1D #1D541F #1D3754
square
#541D52 #543B1D #1D541F #1D3754
split-complementary
#541D52 #37541D #1D543B
monochromatic
#170816 #270D26 #541D52 #812D7E #AF3CAB

Accessibility & contrast

On white

12.54
#541D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D52
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D52#FFFFFF#000000##FFFFFF
##541D521.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#2B3650
Tritanopia (blue-blind)
#572334
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541d52;
/* rgb */ color: rgb(84, 29, 82);
/* oklch */ color: oklch(33.7% 0.109 329.1);
Tailwind
colors: {
  custom: {
    50: '#865d83',
    500: '#541d52',
    950: '#000000',
  },
}
SCSS
$custom: #541d52;
$custom-light: #865d83;
$custom-dark: #000000;
JSON
{
  "hex": "#541d52",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 302.182,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.10884,
    "h": 329.1
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#541D52
secondary
#448946
accent
#D85550
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541D52

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

Preview Lab → · Contrast checker → · Palette generator →

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