#541850#541850

#541850 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.115 H 330.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#541850
RGBrgb(84, 24, 80)
HSLhsl(304, 56%, 21%)
HSVhsv(304, 71%, 33%)
CMYKcmyk(0%, 71.4%, 4.8%, 67.1%)
CIE-LABlab(20.51, 35.21, -20.48)
CIE-LCHlch(20.51, 40.74, 329.81°)
OKLaboklab(32.97% 0.1 -0.0563)
OKLCHoklch(32.97% 0.115 330.6)
XYZxyz(5.4307, 3.1177, 7.9036)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541850 #18541C
analogous
#3A1854 #541850 #541832
triadic
#541850 #505418 #185054
tetradic
#541850 #543A18 #18541C #183254
square
#541850 #543A18 #18541C #183254
split-complementary
#541850 #325418 #18543A
monochromatic
#180717 #240A23 #541850 #84267D #B333AB

Accessibility & contrast

On white

12.94
#541850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#541850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541850
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541850#FFFFFF#000000##FFFFFF
##5418501.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#29344E
Tritanopia (blue-blind)
#571F31
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541850;
/* rgb */ color: rgb(84, 24, 80);
/* oklch */ color: oklch(33.0% 0.115 330.6);
Tailwind
colors: {
  custom: {
    50: '#865a81',
    500: '#541850',
    950: '#000000',
  },
}
SCSS
$custom: #541850;
$custom-light: #865a81;
$custom-dark: #000000;
JSON
{
  "hex": "#541850",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 304,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.11479,
    "h": 330.6
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#541850
secondary
#3D8B42
accent
#DF5349
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541850

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

Preview Lab → · Contrast checker → · Palette generator →

#541850 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva