#541970#541970

#541970 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.145 H 312.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#541970
RGBrgb(84, 25, 112)
HSLhsl(281, 64%, 27%)
HSVhsv(281, 78%, 44%)
CMYKcmyk(25%, 77.7%, 0%, 56.1%)
CIE-LABlab(22.83, 41.50, -37.90)
CIE-LCHlch(22.83, 56.20, 317.60°)
OKLaboklab(35.32% 0.0972 -0.1072)
OKLCHoklch(35.32% 0.145 312.2)
XYZxyz(6.9279, 3.7501, 15.6850)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541970 #357019
analogous
#291970 #541970 #701961
triadic
#541970 #705419 #197054
tetradic
#541970 #702919 #357019 #196170
square
#541970 #702919 #357019 #196170
split-complementary
#541970 #617019 #197029
monochromatic
#130619 #2E0E3E #541970 #7A24A2 #9E32D1

Accessibility & contrast

On white

12.00
#541970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541970
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541970#FFFFFF#000000##FFFFFF
##5419701.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#0D386E
Tritanopia (blue-blind)
#512D43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541970;
/* rgb */ color: rgb(84, 25, 112);
/* oklch */ color: oklch(35.3% 0.145 312.2);
Tailwind
colors: {
  custom: {
    50: '#885c9a',
    500: '#541970',
    950: '#000000',
  },
}
SCSS
$custom: #541970;
$custom-light: #885c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541970",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 280.69,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.14471,
    "h": 312.2
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#541970
secondary
#60A540
accent
#E74176
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541970

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

Preview Lab → · Contrast checker → · Palette generator →

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