#541370#541370

#541370 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.151 H 312.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#541370
RGBrgb(84, 19, 112)
HSLhsl(282, 71%, 26%)
HSVhsv(282, 83%, 44%)
CMYKcmyk(25%, 83%, 0%, 56.1%)
CIE-LABlab(22.02, 43.83, -39.21)
CIE-LCHlch(22.02, 58.81, 318.18°)
OKLaboklab(34.75% 0.1029 -0.111)
OKLCHoklch(34.75% 0.151 312.8)
XYZxyz(6.8131, 3.5206, 15.6467)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541370 #2F7013
analogous
#251370 #541370 #70135D
triadic
#541370 #705413 #137054
tetradic
#541370 #702513 #2F7013 #135D70
square
#541370 #702513 #2F7013 #135D70
split-complementary
#541370 #5D7013 #137025
monochromatic
#14041A #2D0A3C #541370 #7B1CA4 #A225D9

Accessibility & contrast

On white

12.32
#541370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#541370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541370
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541370#FFFFFF#000000##FFFFFF
##5413701.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541370;
/* rgb */ color: rgb(84, 19, 112);
/* oklch */ color: oklch(34.8% 0.151 312.8);
Tailwind
colors: {
  custom: {
    50: '#885a9a',
    500: '#541370',
    950: '#000000',
  },
}
SCSS
$custom: #541370;
$custom-light: #885a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541370",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 281.935,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34753,
    "c": 0.15134,
    "h": 312.8
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#541370
secondary
#59A738
accent
#EE3A70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541370

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

Preview Lab → · Contrast checker → · Palette generator →

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