#571F62#571F62

#571F62 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.4% C 0.123 H 320.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#571F62
RGBrgb(87, 31, 98)
HSLhsl(290, 52%, 25%)
HSVhsv(290, 68%, 38%)
CMYKcmyk(11.2%, 68.4%, 0%, 61.6%)
CIE-LABlab(23.30, 36.38, -28.01)
CIE-LCHlch(23.30, 45.91, 322.40°)
OKLaboklab(35.45% 0.0955 -0.0782)
OKLCHoklch(35.45% 0.123 320.7)
XYZxyz(6.6248, 3.8884, 11.9545)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F62 #2A621F
analogous
#351F62 #571F62 #621F4B
triadic
#571F62 #62571F #1F6257
tetradic
#571F62 #62351F #2A621F #1F4B62
square
#571F62 #62351F #2A621F #1F4B62
split-complementary
#571F62 #4B621F #1F6235
monochromatic
#150717 #2E1034 #571F62 #802E90 #AA3CBF

Accessibility & contrast

On white

11.81
#571F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F62
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F62#FFFFFF#000000##FFFFFF
##571F621.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3464
Deuteranopia (green-blind)
#263A60
Tritanopia (blue-blind)
#582A3D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571f62;
/* rgb */ color: rgb(87, 31, 98);
/* oklch */ color: oklch(35.4% 0.123 320.7);
Tailwind
colors: {
  custom: {
    50: '#895f8f',
    500: '#571f62',
    950: '#000000',
  },
}
SCSS
$custom: #571f62;
$custom-light: #895f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#571f62",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 290.149,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35445,
    "c": 0.12341,
    "h": 320.7
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#571F62
secondary
#539746
accent
#DB4C64
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #571F62

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

Preview Lab → · Contrast checker → · Palette generator →

#571F62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva