#541F66#541F66

#541F66 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.126 H 316.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#541F66
RGBrgb(84, 31, 102)
HSLhsl(285, 53%, 26%)
HSVhsv(285, 70%, 40%)
CMYKcmyk(17.6%, 69.6%, 0%, 60%)
CIE-LABlab(23.08, 36.47, -31.00)
CIE-LCHlch(23.08, 47.87, 319.64°)
OKLaboklab(35.28% 0.0914 -0.087)
OKLCHoklch(35.28% 0.126 316.4)
XYZxyz(6.5441, 3.8243, 12.9613)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541F66 #31661F
analogous
#301F66 #541F66 #661F54
triadic
#541F66 #66541F #1F6654
tetradic
#541F66 #66301F #31661F #1F5466
square
#541F66 #66301F #31661F #1F5466
split-complementary
#541F66 #54661F #1F6630
monochromatic
#130717 #2D1137 #541F66 #7B2D95 #A13CC4

Accessibility & contrast

On white

11.90
#541F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#541F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541F66
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541F66#FFFFFF#000000##FFFFFF
##541F661.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023468
Deuteranopia (green-blind)
#1F3964
Tritanopia (blue-blind)
#532C3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541f66;
/* rgb */ color: rgb(84, 31, 102);
/* oklch */ color: oklch(35.3% 0.126 316.4);
Tailwind
colors: {
  custom: {
    50: '#875f92',
    500: '#541f66',
    950: '#000000',
  },
}
SCSS
$custom: #541f66;
$custom-light: #875f92;
$custom-dark: #000000;
JSON
{
  "hex": "#541f66",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 284.789,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.12616,
    "h": 316.4
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#541F66
secondary
#5C9A46
accent
#DD4B70
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #541F66

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

Preview Lab → · Contrast checker → · Palette generator →

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