#541A70#541A70

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

Color values

HEX#541A70
RGBrgb(84, 26, 112)
HSLhsl(280, 62%, 27%)
HSVhsv(280, 77%, 44%)
CMYKcmyk(25%, 76.8%, 0%, 56.1%)
CIE-LABlab(22.98, 41.07, -37.66)
CIE-LCHlch(22.98, 55.72, 317.49°)
OKLaboklab(35.43% 0.0962 -0.1065)
OKLCHoklch(35.43% 0.143 312.1)
XYZxyz(6.9496, 3.7937, 15.6922)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A70 #36701A
analogous
#291A70 #541A70 #701A61
triadic
#541A70 #70541A #1A7054
tetradic
#541A70 #70291A #36701A #1A6170
square
#541A70 #70291A #36701A #1A6170
split-complementary
#541A70 #61701A #1A7029
monochromatic
#130619 #2F0E3E #541A70 #7926A2 #9D34D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541A70#FFFFFF#000000##FFFFFF
##541A701.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)
#003472
Deuteranopia (green-blind)
#0E386E
Tritanopia (blue-blind)
#512D43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541a70;
/* rgb */ color: rgb(84, 26, 112);
/* oklch */ color: oklch(35.4% 0.143 312.1);
Tailwind
colors: {
  custom: {
    50: '#885d9a',
    500: '#541a70',
    950: '#000000',
  },
}
SCSS
$custom: #541a70;
$custom-light: #885d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541a70",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 280.465,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35429,
    "c": 0.14349,
    "h": 312.1
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#541A70
secondary
#61A541
accent
#E54277
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541A70

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

Preview Lab → · Contrast checker → · Palette generator →

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