#541C68#541C68

#541C68 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.133 H 315.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#541C68
RGBrgb(84, 28, 104)
HSLhsl(284, 58%, 26%)
HSVhsv(284, 73%, 41%)
CMYKcmyk(19.2%, 73.1%, 0%, 59.2%)
CIE-LABlab(22.71, 38.36, -32.91)
CIE-LCHlch(22.71, 50.54, 319.38°)
OKLaboklab(35.05% 0.0949 -0.0925)
OKLCHoklch(35.05% 0.133 315.7)
XYZxyz(6.5697, 3.7150, 13.4650)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C68 #30681C
analogous
#2E1C68 #541C68 #681C56
triadic
#541C68 #68541C #1C6854
tetradic
#541C68 #682E1C #30681C #1C5668
square
#541C68 #682E1C #30681C #1C5668
split-complementary
#541C68 #56681C #1C682E
monochromatic
#130618 #2D0F38 #541C68 #7B2998 #A236C8

Accessibility & contrast

On white

12.05
#541C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#541C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C68
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C68#FFFFFF#000000##FFFFFF
##541C681.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#1B3866
Tritanopia (blue-blind)
#532B40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541c68;
/* rgb */ color: rgb(84, 28, 104);
/* oklch */ color: oklch(35.0% 0.133 315.7);
Tailwind
colors: {
  custom: {
    50: '#875e94',
    500: '#541c68',
    950: '#000000',
  },
}
SCSS
$custom: #541c68;
$custom-light: #875e94;
$custom-dark: #000000;
JSON
{
  "hex": "#541c68",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 284.211,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.13259,
    "h": 315.7
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#541C68
secondary
#5B9D43
accent
#E1476F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541C68

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

Preview Lab → · Contrast checker → · Palette generator →

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