#571973#571973

#571973 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.149 H 312.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#571973
RGBrgb(87, 25, 115)
HSLhsl(281, 64%, 27%)
HSVhsv(281, 78%, 45%)
CMYKcmyk(24.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(23.54, 42.81, -38.66)
CIE-LCHlch(23.54, 57.69, 317.92°)
OKLaboklab(36% 0.101 -0.1093)
OKLCHoklch(36% 0.149 312.7)
XYZxyz(7.3721, 3.9595, 16.5923)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571973 #357319
analogous
#2A1973 #571973 #731962
triadic
#571973 #735719 #197357
tetradic
#571973 #732A19 #357319 #196273
square
#571973 #732A19 #357319 #196273
split-complementary
#571973 #627319 #19732A
monochromatic
#130519 #310E41 #571973 #7D24A5 #A134D3

Accessibility & contrast

On white

11.72
#571973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571973
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571973#FFFFFF#000000##FFFFFF
##5719731.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#0E3971
Tritanopia (blue-blind)
#542E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571973;
/* rgb */ color: rgb(87, 25, 115);
/* oklch */ color: oklch(36.0% 0.149 312.7);
Tailwind
colors: {
  custom: {
    50: '#8a5d9c',
    500: '#571973',
    950: '#000000',
  },
}
SCSS
$custom: #571973;
$custom-light: #8a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#571973",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 281.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35996,
    "c": 0.14879,
    "h": 312.7
  },
  "luminance": 0.03959
}

Semantic roles & 50–950 ramp

primary
#571973
secondary
#60A840
accent
#E74174
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571973

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

Preview Lab → · Contrast checker → · Palette generator →

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