#571175#571175

#571175 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.159 H 312.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#571175
RGBrgb(87, 17, 117)
HSLhsl(282, 75%, 26%)
HSVhsv(282, 85%, 46%)
CMYKcmyk(25.6%, 85.5%, 0%, 54.1%)
CIE-LABlab(22.69, 46.15, -41.31)
CIE-LCHlch(22.69, 61.94, 318.17°)
OKLaboklab(35.45% 0.1076 -0.117)
OKLCHoklch(35.45% 0.159 312.6)
XYZxyz(7.3412, 3.7117, 17.1559)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571175 #2F7511
analogous
#251175 #571175 #751161
triadic
#571175 #755711 #117557
tetradic
#571175 #752511 #2F7511 #116175
square
#571175 #752511 #2F7511 #116175
split-complementary
#571175 #617511 #117525
monochromatic
#14041B #2F0940 #571175 #7F19AA #A622DF

Accessibility & contrast

On white

12.05
#571175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571175
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571175#FFFFFF#000000##FFFFFF
##5711751.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#532B44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571175;
/* rgb */ color: rgb(87, 17, 117);
/* oklch */ color: oklch(35.5% 0.159 312.6);
Tailwind
colors: {
  custom: {
    50: '#8b5a9d',
    500: '#571175',
    950: '#000000',
  },
}
SCSS
$custom: #571175;
$custom-light: #8b5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571175",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 282,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35454,
    "c": 0.15896,
    "h": 312.6
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#571175
secondary
#59AC36
accent
#F1376F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571175

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

Preview Lab → · Contrast checker → · Palette generator →

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