#571870#571870

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

Color values

HEX#571870
RGBrgb(87, 24, 112)
HSLhsl(283, 65%, 27%)
HSVhsv(283, 79%, 44%)
CMYKcmyk(22.3%, 78.6%, 0%, 56.1%)
CIE-LABlab(23.17, 42.55, -37.33)
CIE-LCHlch(23.17, 56.60, 318.74°)
OKLaboklab(35.66% 0.1025 -0.1054)
OKLCHoklch(35.66% 0.147 314.2)
XYZxyz(7.1812, 3.8496, 15.6909)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571870 #317018
analogous
#2B1870 #571870 #70185D
triadic
#571870 #705718 #187057
tetradic
#571870 #702B18 #317018 #185D70
square
#571870 #702B18 #317018 #185D70
split-complementary
#571870 #5D7018 #18702B
monochromatic
#140519 #300D3E #571870 #7E23A2 #A430D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##571870#FFFFFF#000000##FFFFFF
##5718701.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)
#003472
Deuteranopia (green-blind)
#12396E
Tritanopia (blue-blind)
#552C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571870;
/* rgb */ color: rgb(87, 24, 112);
/* oklch */ color: oklch(35.7% 0.147 314.2);
Tailwind
colors: {
  custom: {
    50: '#8a5c9a',
    500: '#571870',
    950: '#000000',
  },
}
SCSS
$custom: #571870;
$custom-light: #8a5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#571870",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 282.955,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35663,
    "c": 0.14698,
    "h": 314.2
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#571870
secondary
#5CA53E
accent
#E84070
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571870

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

Preview Lab → · Contrast checker → · Palette generator →

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