#541C65#541C65

#541C65 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.8% C 0.129 H 317.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#541C65
RGBrgb(84, 28, 101)
HSLhsl(286, 57%, 25%)
HSVhsv(286, 72%, 40%)
CMYKcmyk(16.8%, 72.3%, 0%, 60.4%)
CIE-LABlab(22.50, 37.69, -31.28)
CIE-LCHlch(22.50, 48.98, 320.31°)
OKLaboklab(34.83% 0.0952 -0.0878)
OKLCHoklch(34.83% 0.129 317.3)
XYZxyz(6.4200, 3.6552, 12.6767)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C65 #2D651C
analogous
#2F1C65 #541C65 #651C52
triadic
#541C65 #65541C #1C6554
tetradic
#541C65 #652F1C #2D651C #1C5265
square
#541C65 #652F1C #2D651C #1C5265
split-complementary
#541C65 #52651C #1C652F
monochromatic
#140718 #2C0F35 #541C65 #7C2995 #A437C5

Accessibility & contrast

On white

12.13
#541C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C65
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C65#FFFFFF#000000##FFFFFF
##541C651.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#1E3763
Tritanopia (blue-blind)
#532A3E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541c65;
/* rgb */ color: rgb(84, 28, 101);
/* oklch */ color: oklch(34.8% 0.129 317.3);
Tailwind
colors: {
  custom: {
    50: '#875d91',
    500: '#541c65',
    950: '#000000',
  },
}
SCSS
$custom: #541c65;
$custom-light: #875d91;
$custom-dark: #000000;
JSON
{
  "hex": "#541c65",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 286.027,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34833,
    "c": 0.12948,
    "h": 317.3
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#541C65
secondary
#579A43
accent
#E0486B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #541C65

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

Preview Lab → · Contrast checker → · Palette generator →

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