#541D63#541D63

#541D63 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.8% C 0.126 H 318.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#541D63
RGBrgb(84, 29, 99)
HSLhsl(287, 55%, 25%)
HSVhsv(287, 71%, 39%)
CMYKcmyk(15.2%, 70.7%, 0%, 61.2%)
CIE-LABlab(22.53, 36.78, -29.92)
CIE-LCHlch(22.53, 47.41, 320.87°)
OKLaboklab(34.81% 0.094 -0.0838)
OKLCHoklch(34.81% 0.126 318.3)
XYZxyz(6.3473, 3.6647, 12.1750)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D63 #2C631D
analogous
#311D63 #541D63 #631D4F
triadic
#541D63 #63541D #1D6354
tetradic
#541D63 #63311D #2C631D #1D4F63
square
#541D63 #63311D #2C631D #1D4F63
split-complementary
#541D63 #4F631D #1D6331
monochromatic
#140718 #2C0F34 #541D63 #7C2B92 #A439C2

Accessibility & contrast

On white

12.12
#541D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#541D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D63
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D63#FFFFFF#000000##FFFFFF
##541D631.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#203861
Tritanopia (blue-blind)
#542A3D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541d63;
/* rgb */ color: rgb(84, 29, 99);
/* oklch */ color: oklch(34.8% 0.126 318.3);
Tailwind
colors: {
  custom: {
    50: '#875e90',
    500: '#541d63',
    950: '#000000',
  },
}
SCSS
$custom: #541d63;
$custom-light: #875e90;
$custom-dark: #000000;
JSON
{
  "hex": "#541d63",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 287.143,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.12596,
    "h": 318.3
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#541D63
secondary
#569844
accent
#DE4A6A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #541D63

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

Preview Lab → · Contrast checker → · Palette generator →

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