#541B67#541B67

#541B67 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.133 H 316.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#541B67
RGBrgb(84, 27, 103)
HSLhsl(285, 58%, 25%)
HSVhsv(285, 74%, 40%)
CMYKcmyk(18.4%, 73.8%, 0%, 59.6%)
CIE-LABlab(22.47, 38.60, -32.63)
CIE-LCHlch(22.47, 50.54, 319.79°)
OKLaboklab(34.86% 0.0962 -0.0917)
OKLCHoklch(34.86% 0.133 316.4)
XYZxyz(6.4959, 3.6482, 13.1913)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B67 #2E671B
analogous
#2E1B67 #541B67 #671B54
triadic
#541B67 #67541B #1B6754
tetradic
#541B67 #672E1B #2E671B #1B5467
square
#541B67 #672E1B #2E671B #1B5467
split-complementary
#541B67 #54671B #1B672E
monochromatic
#140618 #2C0E37 #541B67 #7C2897 #A334C8

Accessibility & contrast

On white

12.14
#541B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B67
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B67#FFFFFF#000000##FFFFFF
##541B671.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#532A3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541b67;
/* rgb */ color: rgb(84, 27, 103);
/* oklch */ color: oklch(34.9% 0.133 316.4);
Tailwind
colors: {
  custom: {
    50: '#875d93',
    500: '#541b67',
    950: '#000000',
  },
}
SCSS
$custom: #541b67;
$custom-light: #875d93;
$custom-dark: #000000;
JSON
{
  "hex": "#541b67",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 285,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3486,
    "c": 0.13292,
    "h": 316.4
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#541B67
secondary
#589C42
accent
#E2466D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B67

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

Preview Lab → · Contrast checker → · Palette generator →

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