#541C70#541C70

#541C70 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.141 H 311.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#541C70
RGBrgb(84, 28, 112)
HSLhsl(280, 60%, 27%)
HSVhsv(280, 75%, 44%)
CMYKcmyk(25%, 75%, 0%, 56.1%)
CIE-LABlab(23.29, 40.19, -37.15)
CIE-LCHlch(23.29, 54.73, 317.25°)
OKLaboklab(35.65% 0.094 -0.105)
OKLCHoklch(35.65% 0.141 311.8)
XYZxyz(6.9955, 3.8854, 15.7075)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C70 #38701C
analogous
#2A1C70 #541C70 #701C62
triadic
#541C70 #70541C #1C7054
tetradic
#541C70 #702A1C #38701C #1C6270
square
#541C70 #702A1C #38701C #1C6270
split-complementary
#541C70 #62701C #1C702A
monochromatic
#120618 #2F103F #541C70 #7928A1 #9C39CD

Accessibility & contrast

On white

11.82
#541C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#541C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C70
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C70#FFFFFF#000000##FFFFFF
##541C701.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#11396E
Tritanopia (blue-blind)
#512E44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541c70;
/* rgb */ color: rgb(84, 28, 112);
/* oklch */ color: oklch(35.6% 0.141 311.8);
Tailwind
colors: {
  custom: {
    50: '#875e9a',
    500: '#541c70',
    950: '#000000',
  },
}
SCSS
$custom: #541c70;
$custom-light: #875e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541c70",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.14096,
    "h": 311.8
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#541C70
secondary
#64A543
accent
#E34579
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C70

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

Preview Lab → · Contrast checker → · Palette generator →

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