#541B53#541B53

#541B53 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.113 H 328.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#541B53
RGBrgb(84, 27, 83)
HSLhsl(301, 51%, 22%)
HSVhsv(301, 68%, 33%)
CMYKcmyk(0%, 67.9%, 1.2%, 67.1%)
CIE-LABlab(21.18, 34.40, -21.44)
CIE-LCHlch(21.18, 40.53, 328.06°)
OKLaboklab(33.52% 0.0963 -0.0591)
OKLCHoklch(33.52% 0.113 328.4)
XYZxyz(5.6094, 3.2936, 8.5222)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B53 #1B541C
analogous
#391B54 #541B53 #541B37
triadic
#541B53 #53541B #1B5354
tetradic
#541B53 #54391B #1B541C #1B3754
square
#541B53 #54391B #1B541C #1B3754
split-complementary
#541B53 #37541B #1B5439
monochromatic
#170717 #260C25 #541B53 #822A81 #B139AF

Accessibility & contrast

On white

12.66
#541B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#541B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B53
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B53#FFFFFF#000000##FFFFFF
##541B531.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#293651
Tritanopia (blue-blind)
#572234
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541b53;
/* rgb */ color: rgb(84, 27, 83);
/* oklch */ color: oklch(33.5% 0.113 328.4);
Tailwind
colors: {
  custom: {
    50: '#865c83',
    500: '#541b53',
    950: '#000000',
  },
}
SCSS
$custom: #541b53;
$custom-light: #865c83;
$custom-dark: #000000;
JSON
{
  "hex": "#541b53",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 301.053,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33516,
    "c": 0.113,
    "h": 328.4
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#541B53
secondary
#418A42
accent
#DB4F4D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541B53

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

Preview Lab → · Contrast checker → · Palette generator →

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