#541E62#541E62

#541E62 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.123 H 318.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#541E62
RGBrgb(84, 30, 98)
HSLhsl(288, 53%, 25%)
HSVhsv(288, 69%, 38%)
CMYKcmyk(14.3%, 69.4%, 0%, 61.6%)
CIE-LABlab(22.64, 36.07, -29.09)
CIE-LCHlch(22.64, 46.34, 321.11°)
OKLaboklab(34.87% 0.0928 -0.0814)
OKLCHoklch(34.87% 0.123 318.7)
XYZxyz(6.3247, 3.6955, 11.9331)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E62 #2C621E
analogous
#321E62 #541E62 #621E4E
triadic
#541E62 #62541E #1E6254
tetradic
#541E62 #62321E #2C621E #1E4E62
square
#541E62 #62321E #2C621E #1E4E62
split-complementary
#541E62 #4E621E #1E6232
monochromatic
#140717 #2C1033 #541E62 #7C2C91 #A43BC0

Accessibility & contrast

On white

12.08
#541E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#541E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E62
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E62#FFFFFF#000000##FFFFFF
##541E621.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541e62;
/* rgb */ color: rgb(84, 30, 98);
/* oklch */ color: oklch(34.9% 0.123 318.7);
Tailwind
colors: {
  custom: {
    50: '#875e8f',
    500: '#541e62',
    950: '#000000',
  },
}
SCSS
$custom: #541e62;
$custom-light: #875e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#541e62",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 287.647,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34869,
    "c": 0.12342,
    "h": 318.7
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#541E62
secondary
#569745
accent
#DD4B69
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #541E62

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

Preview Lab → · Contrast checker → · Palette generator →

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