#541A6E#541A6E

#541A6E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.141 H 313.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#541A6E
RGBrgb(84, 26, 110)
HSLhsl(281, 62%, 27%)
HSVhsv(281, 76%, 43%)
CMYKcmyk(23.6%, 76.4%, 0%, 56.9%)
CIE-LABlab(22.83, 40.62, -36.61)
CIE-LCHlch(22.83, 54.68, 317.97°)
OKLaboklab(35.27% 0.0965 -0.1034)
OKLCHoklch(35.27% 0.141 313)
XYZxyz(6.8395, 3.7496, 15.1123)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A6E #346E1A
analogous
#2A1A6E #541A6E #6E1A5E
triadic
#541A6E #6E541A #1A6E54
tetradic
#541A6E #6E2A1A #346E1A #1A5E6E
square
#541A6E #6E2A1A #346E1A #1A5E6E
split-complementary
#541A6E #5E6E1A #1A6E2A
monochromatic
#130619 #2E0E3D #541A6E #7A26A0 #9F34CF

Accessibility & contrast

On white

12.00
#541A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A6E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A6E#FFFFFF#000000##FFFFFF
##541A6E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#12386C
Tritanopia (blue-blind)
#512C42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541a6e;
/* rgb */ color: rgb(84, 26, 110);
/* oklch */ color: oklch(35.3% 0.141 313.0);
Tailwind
colors: {
  custom: {
    50: '#875d98',
    500: '#541a6e',
    950: '#000000',
  },
}
SCSS
$custom: #541a6e;
$custom-light: #875d98;
$custom-dark: #000000;
JSON
{
  "hex": "#541a6e",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 281.429,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.14143,
    "h": 313
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#541A6E
secondary
#5FA341
accent
#E54375
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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