#571670#571670

#571670 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.149 H 314.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#571670
RGBrgb(87, 22, 112)
HSLhsl(283, 67%, 26%)
HSVhsv(283, 80%, 44%)
CMYKcmyk(22.3%, 80.4%, 0%, 56.1%)
CIE-LABlab(22.90, 43.33, -37.76)
CIE-LCHlch(22.90, 57.47, 318.93°)
OKLaboklab(35.47% 0.1044 -0.1066)
OKLCHoklch(35.47% 0.149 314.4)
XYZxyz(7.1415, 3.7702, 15.6776)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571670 #2F7016
analogous
#2A1670 #571670 #70165C
triadic
#571670 #705716 #167057
tetradic
#571670 #702A16 #2F7016 #165C70
square
#571670 #702A16 #2F7016 #165C70
split-complementary
#571670 #5C7016 #16702A
monochromatic
#14051A #2F0C3D #571670 #7F20A3 #A62BD5

Accessibility & contrast

On white

11.97
#571670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571670
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571670#FFFFFF#000000##FFFFFF
##5716701.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#0F386E
Tritanopia (blue-blind)
#552B42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571670;
/* rgb */ color: rgb(87, 22, 112);
/* oklch */ color: oklch(35.5% 0.149 314.4);
Tailwind
colors: {
  custom: {
    50: '#8a5b9a',
    500: '#571670',
    950: '#000000',
  },
}
SCSS
$custom: #571670;
$custom-light: #8a5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571670",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 283.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.14925,
    "h": 314.4
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#571670
secondary
#59A63C
accent
#EA3E6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571670

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

Preview Lab → · Contrast checker → · Palette generator →

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