#541152#541152

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

Color values

HEX#541152
RGBrgb(84, 17, 82)
HSLhsl(302, 66%, 20%)
HSVhsv(302, 80%, 33%)
CMYKcmyk(0%, 79.8%, 2.4%, 67.1%)
CIE-LABlab(19.62, 38.44, -23.24)
CIE-LCHlch(19.62, 44.92, 328.84°)
OKLaboklab(32.37% 0.1083 -0.0642)
OKLCHoklch(32.37% 0.126 329.3)
XYZxyz(5.3796, 2.8953, 8.2565)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541152 #115413
analogous
#351154 #541152 #541131
triadic
#541152 #525411 #115254
tetradic
#541152 #543511 #115413 #113154
square
#541152 #543511 #115413 #113154
split-complementary
#541152 #315411 #115435
monochromatic
#190519 #210720 #541152 #871B84 #BA26B5

Accessibility & contrast

On white

13.30
#541152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#541152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541152
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541152#FFFFFF#000000##FFFFFF
##5411521.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#571B30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #541152;
/* rgb */ color: rgb(84, 17, 82);
/* oklch */ color: oklch(32.4% 0.126 329.3);
Tailwind
colors: {
  custom: {
    50: '#875783',
    500: '#541152',
    950: '#000000',
  },
}
SCSS
$custom: #541152;
$custom-light: #875783;
$custom-dark: #000000;
JSON
{
  "hex": "#541152",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 301.791,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.12592,
    "h": 329.3
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#541152
secondary
#348D36
accent
#E9443F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #541152

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

Preview Lab → · Contrast checker → · Palette generator →

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