#541071#541071

#541071 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.6% C 0.155 H 312.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#541071
RGBrgb(84, 16, 113)
HSLhsl(282, 75%, 25%)
HSVhsv(282, 86%, 44%)
CMYKcmyk(25.7%, 85.8%, 0%, 55.7%)
CIE-LABlab(21.76, 45.05, -40.28)
CIE-LCHlch(21.76, 60.43, 318.20°)
OKLaboklab(34.59% 0.1051 -0.1141)
OKLCHoklch(34.59% 0.155 312.6)
XYZxyz(6.8215, 3.4479, 15.9257)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541071 #2D7110
analogous
#231071 #541071 #71105D
triadic
#541071 #715410 #107154
tetradic
#541071 #712310 #2D7110 #105D71
square
#541071 #712310 #2D7110 #105D71
split-complementary
#541071 #5D7110 #107123
monochromatic
#14041B #2C083B #541071 #7C18A7 #A41FDC

Accessibility & contrast

On white

12.43
#541071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#541071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541071
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541071#FFFFFF#000000##FFFFFF
##5410711.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#512942
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541071;
/* rgb */ color: rgb(84, 16, 113);
/* oklch */ color: oklch(34.6% 0.155 312.6);
Tailwind
colors: {
  custom: {
    50: '#88599a',
    500: '#541071',
    950: '#000000',
  },
}
SCSS
$custom: #541071;
$custom-light: #88599a;
$custom-dark: #000000;
JSON
{
  "hex": "#541071",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 282.062,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34594,
    "c": 0.15514,
    "h": 312.6
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#541071
secondary
#57A934
accent
#F2366E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541071

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

Preview Lab → · Contrast checker → · Palette generator →

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