#541B61#541B61

#541B61 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.127 H 319.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#541B61
RGBrgb(84, 27, 97)
HSLhsl(289, 56%, 24%)
HSVhsv(289, 72%, 38%)
CMYKcmyk(13.4%, 72.2%, 0%, 62%)
CIE-LABlab(22.06, 37.28, -29.36)
CIE-LCHlch(22.06, 47.46, 321.78°)
OKLaboklab(34.43% 0.0966 -0.0822)
OKLCHoklch(34.43% 0.127 319.6)
XYZxyz(6.2055, 3.5320, 11.6618)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B61 #28611B
analogous
#311B61 #541B61 #611B4B
triadic
#541B61 #61541B #1B6154
tetradic
#541B61 #61311B #28611B #1B4B61
square
#541B61 #61311B #28611B #1B4B61
split-complementary
#541B61 #4B611B #1B6131
monochromatic
#150718 #2B0E31 #541B61 #7D2891 #A736C1

Accessibility & contrast

On white

12.31
#541B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#541B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B61
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B61#FFFFFF#000000##FFFFFF
##541B611.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023163
Deuteranopia (green-blind)
#20375F
Tritanopia (blue-blind)
#54283B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541b61;
/* rgb */ color: rgb(84, 27, 97);
/* oklch */ color: oklch(34.4% 0.127 319.6);
Tailwind
colors: {
  custom: {
    50: '#875d8e',
    500: '#541b61',
    950: '#000000',
  },
}
SCSS
$custom: #541b61;
$custom-light: #875d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#541b61",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 288.857,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34432,
    "c": 0.1268,
    "h": 319.6
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#541B61
secondary
#519741
accent
#E04864
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541B61

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

Preview Lab → · Contrast checker → · Palette generator →

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