#541070#541070

#541070 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.5% C 0.154 H 313.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#541070
RGBrgb(84, 16, 112)
HSLhsl(283, 75%, 25%)
HSVhsv(283, 86%, 44%)
CMYKcmyk(25%, 85.7%, 0%, 56.1%)
CIE-LABlab(21.67, 44.83, -39.77)
CIE-LCHlch(21.67, 59.93, 318.43°)
OKLaboklab(34.51% 0.1054 -0.1126)
OKLCHoklch(34.51% 0.154 313.1)
XYZxyz(6.7656, 3.4255, 15.6309)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541070 #2C7010
analogous
#241070 #541070 #70105C
triadic
#541070 #705410 #107054
tetradic
#541070 #702410 #2C7010 #105C70
square
#541070 #702410 #2C7010 #105C70
split-complementary
#541070 #5C7010 #107024
monochromatic
#14041B #2C083A #541070 #7C18A6 #A41FDB

Accessibility & contrast

On white

12.46
#541070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541070
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541070#FFFFFF#000000##FFFFFF
##5410701.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#512941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541070;
/* rgb */ color: rgb(84, 16, 112);
/* oklch */ color: oklch(34.5% 0.154 313.1);
Tailwind
colors: {
  custom: {
    50: '#88599a',
    500: '#541070',
    950: '#000000',
  },
}
SCSS
$custom: #541070;
$custom-light: #88599a;
$custom-dark: #000000;
JSON
{
  "hex": "#541070",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 282.5,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.15421,
    "h": 313.1
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#541070
secondary
#56A834
accent
#F2366D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541070

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

Preview Lab → · Contrast checker → · Palette generator →

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