#541052#541052

#541052 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.127 H 329.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#541052
RGBrgb(84, 16, 82)
HSLhsl(302, 68%, 20%)
HSVhsv(302, 81%, 33%)
CMYKcmyk(0%, 81%, 2.4%, 67.1%)
CIE-LABlab(19.49, 38.80, -23.44)
CIE-LCHlch(19.49, 45.33, 328.86°)
OKLaboklab(32.28% 0.1093 -0.0648)
OKLCHoklch(32.28% 0.127 329.3)
XYZxyz(5.3644, 2.8650, 8.2515)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541052 #105412
analogous
#341054 #541052 #541030
triadic
#541052 #525410 #105254
tetradic
#541052 #543410 #105412 #103054
square
#541052 #543410 #105412 #103054
split-complementary
#541052 #305410 #105434
monochromatic
#1A0519 #210620 #541052 #871A84 #BB24B6

Accessibility & contrast

On white

13.35
#541052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#541052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541052
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541052#FFFFFF#000000##FFFFFF
##5410521.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052954
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#571A30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #541052;
/* rgb */ color: rgb(84, 16, 82);
/* oklch */ color: oklch(32.3% 0.127 329.3);
Tailwind
colors: {
  custom: {
    50: '#875783',
    500: '#541052',
    950: '#000000',
  },
}
SCSS
$custom: #541052;
$custom-light: #875783;
$custom-dark: #000000;
JSON
{
  "hex": "#541052",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 301.765,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.12708,
    "h": 329.3
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#541052
secondary
#328E35
accent
#EB423D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #541052

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

Preview Lab → · Contrast checker → · Palette generator →

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