#541C6E#541C6E

#541C6E is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.139 H 312.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#541C6E
RGBrgb(84, 28, 110)
HSLhsl(281, 59%, 27%)
HSVhsv(281, 75%, 43%)
CMYKcmyk(23.6%, 74.5%, 0%, 56.9%)
CIE-LABlab(23.14, 39.73, -36.10)
CIE-LCHlch(23.14, 53.68, 317.74°)
OKLaboklab(35.5% 0.0943 -0.1019)
OKLCHoklch(35.5% 0.139 312.8)
XYZxyz(6.8854, 3.8413, 15.1276)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C6E #366E1C
analogous
#2B1C6E #541C6E #6E1C5F
triadic
#541C6E #6E541C #1C6E54
tetradic
#541C6E #6E2B1C #366E1C #1C5F6E
square
#541C6E #6E2B1C #366E1C #1C5F6E
split-complementary
#541C6E #5F6E1C #1C6E2B
monochromatic
#130618 #2F103D #541C6E #79289F #9D38CC

Accessibility & contrast

On white

11.88
#541C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C6E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C6E#FFFFFF#000000##FFFFFF
##541C6E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#14386C
Tritanopia (blue-blind)
#512E43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541c6e;
/* rgb */ color: rgb(84, 28, 110);
/* oklch */ color: oklch(35.5% 0.139 312.8);
Tailwind
colors: {
  custom: {
    50: '#875e98',
    500: '#541c6e',
    950: '#000000',
  },
}
SCSS
$custom: #541c6e;
$custom-light: #875e98;
$custom-dark: #000000;
JSON
{
  "hex": "#541c6e",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 280.976,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.13886,
    "h": 312.8
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#541C6E
secondary
#61A343
accent
#E34577
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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