#541B6E#541B6E

#541B6E is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.140 H 312.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#541B6E
RGBrgb(84, 27, 110)
HSLhsl(281, 61%, 27%)
HSVhsv(281, 75%, 43%)
CMYKcmyk(23.6%, 75.5%, 0%, 56.9%)
CIE-LABlab(22.98, 40.18, -36.36)
CIE-LCHlch(22.98, 54.19, 317.86°)
OKLaboklab(35.38% 0.0954 -0.1027)
OKLCHoklch(35.38% 0.14 312.9)
XYZxyz(6.8621, 3.7947, 15.1198)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B6E #356E1B
analogous
#2B1B6E #541B6E #6E1B5F
triadic
#541B6E #6E541B #1B6E54
tetradic
#541B6E #6E2B1B #356E1B #1B5F6E
square
#541B6E #6E2B1B #356E1B #1B5F6E
split-complementary
#541B6E #5F6E1B #1B6E2B
monochromatic
#130619 #2E0F3D #541B6E #7A279F #9E36CE

Accessibility & contrast

On white

11.94
#541B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#541B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B6E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B6E#FFFFFF#000000##FFFFFF
##541B6E1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541b6e;
/* rgb */ color: rgb(84, 27, 110);
/* oklch */ color: oklch(35.4% 0.140 312.9);
Tailwind
colors: {
  custom: {
    50: '#875d98',
    500: '#541b6e',
    950: '#000000',
  },
}
SCSS
$custom: #541b6e;
$custom-light: #875d98;
$custom-dark: #000000;
JSON
{
  "hex": "#541b6e",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 281.205,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35384,
    "c": 0.14016,
    "h": 312.9
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#541B6E
secondary
#60A342
accent
#E44476
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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