#571673#571673

#571673 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.152 H 313.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#571673
RGBrgb(87, 22, 115)
HSLhsl(282, 68%, 27%)
HSVhsv(282, 81%, 45%)
CMYKcmyk(24.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(23.13, 43.99, -39.32)
CIE-LCHlch(23.13, 59.00, 318.21°)
OKLaboklab(35.71% 0.1038 -0.1112)
OKLCHoklch(35.71% 0.152 313)
XYZxyz(7.3113, 3.8381, 16.5720)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571673 #327316
analogous
#281673 #571673 #731661
triadic
#571673 #735716 #167357
tetradic
#571673 #732816 #327316 #166173
square
#571673 #732816 #327316 #166173
split-complementary
#571673 #617316 #167328
monochromatic
#13051A #300C40 #571673 #7E20A6 #A42DD7

Accessibility & contrast

On white

11.88
#571673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571673
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571673#FFFFFF#000000##FFFFFF
##5716731.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#093871
Tritanopia (blue-blind)
#542C44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571673;
/* rgb */ color: rgb(87, 22, 115);
/* oklch */ color: oklch(35.7% 0.152 313.0);
Tailwind
colors: {
  custom: {
    50: '#8a5c9c',
    500: '#571673',
    950: '#000000',
  },
}
SCSS
$custom: #571673;
$custom-light: #8a5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#571673",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 281.935,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35708,
    "c": 0.15215,
    "h": 313
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#571673
secondary
#5DA93C
accent
#EB3D71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571673

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

Preview Lab → · Contrast checker → · Palette generator →

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