#571672#571672

#571672 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.151 H 313.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#571672
RGBrgb(87, 22, 114)
HSLhsl(282, 68%, 27%)
HSVhsv(282, 81%, 45%)
CMYKcmyk(23.7%, 80.7%, 0%, 55.3%)
CIE-LABlab(23.05, 43.77, -38.80)
CIE-LCHlch(23.05, 58.49, 318.44°)
OKLaboklab(35.63% 0.104 -0.1097)
OKLCHoklch(35.63% 0.151 313.5)
XYZxyz(7.2541, 3.8152, 16.2706)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571672 #317216
analogous
#291672 #571672 #72165F
triadic
#571672 #725716 #167257
tetradic
#571672 #722916 #317216 #165F72
square
#571672 #722916 #317216 #165F72
split-complementary
#571672 #5F7216 #167229
monochromatic
#14051A #300C3F #571672 #7E20A5 #A42CD6

Accessibility & contrast

On white

11.91
#571672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571672
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571672#FFFFFF#000000##FFFFFF
##5716721.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#0C3870
Tritanopia (blue-blind)
#542C44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571672;
/* rgb */ color: rgb(87, 22, 114);
/* oklch */ color: oklch(35.6% 0.151 313.5);
Tailwind
colors: {
  custom: {
    50: '#8a5c9b',
    500: '#571672',
    950: '#000000',
  },
}
SCSS
$custom: #571672;
$custom-light: #8a5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#571672",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 282.391,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35629,
    "c": 0.15118,
    "h": 313.5
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#571672
secondary
#5CA83C
accent
#EB3D70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571672

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

Preview Lab → · Contrast checker → · Palette generator →

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