#541C63#541C63

#541C63 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.127 H 318.4°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#541C63
RGBrgb(84, 28, 99)
HSLhsl(287, 56%, 25%)
HSVhsv(287, 72%, 39%)
CMYKcmyk(15.2%, 71.7%, 0%, 61.2%)
CIE-LABlab(22.36, 37.25, -30.19)
CIE-LCHlch(22.36, 47.95, 320.97°)
OKLaboklab(34.69% 0.0953 -0.0846)
OKLCHoklch(34.69% 0.127 318.4)
XYZxyz(6.3232, 3.6165, 12.1669)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C63 #2B631C
analogous
#311C63 #541C63 #631C4F
triadic
#541C63 #63541C #1C6354
tetradic
#541C63 #63311C #2B631C #1C4F63
square
#541C63 #63311C #2B631C #1C4F63
split-complementary
#541C63 #4F631C #1C6331
monochromatic
#140718 #2C0F33 #541C63 #7C2993 #A537C2

Accessibility & contrast

On white

12.19
#541C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C63
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C63#FFFFFF#000000##FFFFFF
##541C631.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013265
Deuteranopia (green-blind)
#203761
Tritanopia (blue-blind)
#54293D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541c63;
/* rgb */ color: rgb(84, 28, 99);
/* oklch */ color: oklch(34.7% 0.127 318.4);
Tailwind
colors: {
  custom: {
    50: '#875d90',
    500: '#541c63',
    950: '#000000',
  },
}
SCSS
$custom: #541c63;
$custom-light: #875d90;
$custom-dark: #000000;
JSON
{
  "hex": "#541c63",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 287.324,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.12741,
    "h": 318.4
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#541C63
secondary
#559843
accent
#DF4968
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541C63

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

Preview Lab → · Contrast checker → · Palette generator →

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