#541A67#541A67

#541A67 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.134 H 316.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#541A67
RGBrgb(84, 26, 103)
HSLhsl(285, 60%, 25%)
HSVhsv(285, 75%, 40%)
CMYKcmyk(18.4%, 74.8%, 0%, 59.6%)
CIE-LABlab(22.31, 39.05, -32.89)
CIE-LCHlch(22.31, 51.05, 319.89°)
OKLaboklab(34.75% 0.0974 -0.0925)
OKLCHoklch(34.75% 0.134 316.5)
XYZxyz(6.4734, 3.6031, 13.1838)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A67 #2D671A
analogous
#2E1A67 #541A67 #671A53
triadic
#541A67 #67541A #1A6754
tetradic
#541A67 #672E1A #2D671A #1A5367
square
#541A67 #672E1A #2D671A #1A5367
split-complementary
#541A67 #53671A #1A672E
monochromatic
#140618 #2C0E36 #541A67 #7C2698 #A433C9

Accessibility & contrast

On white

12.21
#541A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A67
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A67#FFFFFF#000000##FFFFFF
##541A671.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#1A3765
Tritanopia (blue-blind)
#532A3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541a67;
/* rgb */ color: rgb(84, 26, 103);
/* oklch */ color: oklch(34.7% 0.134 316.5);
Tailwind
colors: {
  custom: {
    50: '#875c93',
    500: '#541a67',
    950: '#000000',
  },
}
SCSS
$custom: #541a67;
$custom-light: #875c93;
$custom-dark: #000000;
JSON
{
  "hex": "#541a67",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 285.195,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.13428,
    "h": 316.5
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#541A67
secondary
#579D40
accent
#E3456C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541A67

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

Preview Lab → · Contrast checker → · Palette generator →

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