#541B70#541B70

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

Color values

HEX#541B70
RGBrgb(84, 27, 112)
HSLhsl(280, 61%, 27%)
HSVhsv(280, 76%, 44%)
CMYKcmyk(25%, 75.9%, 0%, 56.1%)
CIE-LABlab(23.13, 40.64, -37.41)
CIE-LCHlch(23.13, 55.23, 317.37°)
OKLaboklab(35.54% 0.0951 -0.1057)
OKLCHoklch(35.54% 0.142 312)
XYZxyz(6.9722, 3.8387, 15.6998)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B70 #37701B
analogous
#291B70 #541B70 #701B62
triadic
#541B70 #70541B #1B7054
tetradic
#541B70 #70291B #37701B #1B6270
square
#541B70 #70291B #37701B #1B6270
split-complementary
#541B70 #62701B #1B7029
monochromatic
#120619 #2F0F3F #541B70 #7927A1 #9D37CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541B70#FFFFFF#000000##FFFFFF
##541B701.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)
#003472
Deuteranopia (green-blind)
#10386E
Tritanopia (blue-blind)
#512E44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541b70;
/* rgb */ color: rgb(84, 27, 112);
/* oklch */ color: oklch(35.5% 0.142 312.0);
Tailwind
colors: {
  custom: {
    50: '#885d9a',
    500: '#541b70',
    950: '#000000',
  },
}
SCSS
$custom: #541b70;
$custom-light: #885d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541b70",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 280.235,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.14224,
    "h": 312
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#541B70
secondary
#63A542
accent
#E44478
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541B70

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

Preview Lab → · Contrast checker → · Palette generator →

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