#571875#571875

#571875 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.152 H 312.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#571875
RGBrgb(87, 24, 117)
HSLhsl(281, 66%, 28%)
HSVhsv(281, 79%, 46%)
CMYKcmyk(25.6%, 79.5%, 0%, 54.1%)
CIE-LABlab(23.55, 43.66, -39.92)
CIE-LCHlch(23.55, 59.16, 317.57°)
OKLaboklab(36.06% 0.1016 -0.113)
OKLCHoklch(36.06% 0.152 312)
XYZxyz(7.4674, 3.9641, 17.1979)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571875 #367518
analogous
#281875 #571875 #751864
triadic
#571875 #755718 #187557
tetradic
#571875 #752818 #367518 #186475
square
#571875 #752818 #367518 #186475
split-complementary
#571875 #647518 #187528
monochromatic
#130519 #310E42 #571875 #7D22A8 #A132D5

Accessibility & contrast

On white

11.71
#571875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571875
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571875#FFFFFF#000000##FFFFFF
##5718751.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#083973
Tritanopia (blue-blind)
#532E46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571875;
/* rgb */ color: rgb(87, 24, 117);
/* oklch */ color: oklch(36.1% 0.152 312.0);
Tailwind
colors: {
  custom: {
    50: '#8a5d9d',
    500: '#571875',
    950: '#000000',
  },
}
SCSS
$custom: #571875;
$custom-light: #8a5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571875",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 280.645,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36056,
    "c": 0.15193,
    "h": 312
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#571875
secondary
#61AA3F
accent
#E93F76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571875

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

Preview Lab → · Contrast checker → · Palette generator →

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