#541570#541570

#541570 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.149 H 312.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#541570
RGBrgb(84, 21, 112)
HSLhsl(282, 68%, 26%)
HSVhsv(282, 81%, 44%)
CMYKcmyk(25%, 81.2%, 0%, 56.1%)
CIE-LABlab(22.27, 43.10, -38.80)
CIE-LCHlch(22.27, 57.99, 318.00°)
OKLaboklab(34.93% 0.1011 -0.1098)
OKLCHoklch(34.93% 0.149 312.6)
XYZxyz(6.8484, 3.5912, 15.6585)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541570 #317015
analogous
#261570 #541570 #70155E
triadic
#541570 #705415 #157054
tetradic
#541570 #702615 #317015 #155E70
square
#541570 #702615 #317015 #155E70
split-complementary
#541570 #5E7015 #157026
monochromatic
#13051A #2D0B3C #541570 #7B1FA4 #A129D7

Accessibility & contrast

On white

12.22
#541570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541570
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541570#FFFFFF#000000##FFFFFF
##5415701.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#07376E
Tritanopia (blue-blind)
#512B42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541570;
/* rgb */ color: rgb(84, 21, 112);
/* oklch */ color: oklch(34.9% 0.149 312.6);
Tailwind
colors: {
  custom: {
    50: '#885b9a',
    500: '#541570',
    950: '#000000',
  },
}
SCSS
$custom: #541570;
$custom-light: #885b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541570",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 281.538,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.14927,
    "h": 312.6
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#541570
secondary
#5CA63B
accent
#EB3D72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541570

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

Preview Lab → · Contrast checker → · Palette generator →

#541570 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva