#541F68#541F68

#541F68 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.4% C 0.128 H 315.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#541F68
RGBrgb(84, 31, 104)
HSLhsl(284, 54%, 26%)
HSVhsv(284, 70%, 41%)
CMYKcmyk(19.2%, 70.2%, 0%, 59.2%)
CIE-LABlab(23.22, 36.93, -32.09)
CIE-LCHlch(23.22, 48.92, 319.01°)
OKLaboklab(35.42% 0.0913 -0.0902)
OKLCHoklch(35.42% 0.128 315.4)
XYZxyz(6.6444, 3.8645, 13.4899)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541F68 #33681F
analogous
#301F68 #541F68 #681F58
triadic
#541F68 #68541F #1F6854
tetradic
#541F68 #68301F #33681F #1F5868
square
#541F68 #68301F #33681F #1F5868
split-complementary
#541F68 #58681F #1F6830
monochromatic
#130718 #2E1139 #541F68 #7A2D97 #A03CC5

Accessibility & contrast

On white

11.85
#541F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#541F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541F68
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541F68#FFFFFF#000000##FFFFFF
##541F681.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#1E3966
Tritanopia (blue-blind)
#532D40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541f68;
/* rgb */ color: rgb(84, 31, 104);
/* oklch */ color: oklch(35.4% 0.128 315.4);
Tailwind
colors: {
  custom: {
    50: '#875f93',
    500: '#541f68',
    950: '#000000',
  },
}
SCSS
$custom: #541f68;
$custom-light: #875f93;
$custom-dark: #000000;
JSON
{
  "hex": "#541f68",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 283.562,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35416,
    "c": 0.12831,
    "h": 315.4
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#541F68
secondary
#5E9C46
accent
#DD4A73
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #541F68

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

Preview Lab → · Contrast checker → · Palette generator →

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