#571575#571575

#571575 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.155 H 312.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#571575
RGBrgb(87, 21, 117)
HSLhsl(281, 70%, 27%)
HSVhsv(281, 82%, 46%)
CMYKcmyk(25.6%, 82.1%, 0%, 54.1%)
CIE-LABlab(23.16, 44.80, -40.55)
CIE-LCHlch(23.16, 60.43, 317.85°)
OKLaboklab(35.78% 0.1043 -0.1148)
OKLCHoklch(35.78% 0.155 312.2)
XYZxyz(7.4089, 3.8471, 17.1785)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571575 #337515
analogous
#271575 #571575 #751563
triadic
#571575 #755715 #157557
tetradic
#571575 #752715 #337515 #156375
square
#571575 #752715 #337515 #156375
split-complementary
#571575 #637515 #157527
monochromatic
#13051A #300C41 #571575 #7E1EA9 #A32BD9

Accessibility & contrast

On white

11.87
#571575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571575
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571575#FFFFFF#000000##FFFFFF
##5715751.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#033873
Tritanopia (blue-blind)
#532D45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571575;
/* rgb */ color: rgb(87, 21, 117);
/* oklch */ color: oklch(35.8% 0.155 312.2);
Tailwind
colors: {
  custom: {
    50: '#8a5b9d',
    500: '#571575',
    950: '#000000',
  },
}
SCSS
$custom: #571575;
$custom-light: #8a5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571575",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 281.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.15514,
    "h": 312.2
  },
  "luminance": 0.03847
}

Semantic roles & 50–950 ramp

primary
#571575
secondary
#5EAB3B
accent
#EC3B73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571575

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

Preview Lab → · Contrast checker → · Palette generator →

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