#541F5E#541F5E

#541F5E is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.118 H 321.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#541F5E
RGBrgb(84, 31, 94)
HSLhsl(290, 50%, 25%)
HSVhsv(290, 67%, 37%)
CMYKcmyk(10.6%, 67%, 0%, 63.1%)
CIE-LABlab(22.56, 34.70, -26.59)
CIE-LCHlch(22.56, 43.71, 322.54°)
OKLaboklab(34.73% 0.0914 -0.0741)
OKLCHoklch(34.73% 0.118 321)
XYZxyz(6.1663, 3.6732, 10.9717)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541F5E #295E1F
analogous
#351F5E #541F5E #5E1F49
triadic
#541F5E #5E541F #1F5E54
tetradic
#541F5E #5E351F #295E1F #1F495E
square
#541F5E #5E351F #295E1F #1F495E
split-complementary
#541F5E #495E1F #1F5E35
monochromatic
#150817 #2B1030 #541F5E #7D2E8C #A63DBA

Accessibility & contrast

On white

12.11
#541F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541F5E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541F5E#FFFFFF#000000##FFFFFF
##541F5E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103260
Deuteranopia (green-blind)
#25385C
Tritanopia (blue-blind)
#55293B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541f5e;
/* rgb */ color: rgb(84, 31, 94);
/* oklch */ color: oklch(34.7% 0.118 321.0);
Tailwind
colors: {
  custom: {
    50: '#865f8c',
    500: '#541f5e',
    950: '#000000',
  },
}
SCSS
$custom: #541f5e;
$custom-light: #865f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#541f5e",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 290.476,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3473,
    "c": 0.11769,
    "h": 321
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#541F5E
secondary
#529346
accent
#DA4E64
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #541F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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