#571885#571885

#571885 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.168 H 305.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#571885
RGBrgb(87, 24, 133)
HSLhsl(275, 69%, 31%)
HSVhsv(275, 82%, 52%)
CMYKcmyk(34.6%, 82%, 0%, 47.8%)
CIE-LABlab(24.87, 47.35, -47.92)
CIE-LCHlch(24.87, 67.37, 314.66°)
OKLaboklab(37.39% 0.0977 -0.1365)
OKLCHoklch(37.39% 0.168 305.6)
XYZxyz(8.4898, 4.3730, 22.5826)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571885 #468518
analogous
#201885 #571885 #85187C
triadic
#571885 #855718 #188557
tetradic
#571885 #852018 #468518 #187C85
square
#571885 #852018 #468518 #187C85
split-complementary
#571885 #7C8518 #188520
monochromatic
#13051D #350F51 #571885 #7921B9 #983CDC

Accessibility & contrast

On white

11.20
#571885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571885
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571885#FFFFFF#000000##FFFFFF
##5718851.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#4E354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571885;
/* rgb */ color: rgb(87, 24, 133);
/* oklch */ color: oklch(37.4% 0.168 305.6);
Tailwind
colors: {
  custom: {
    50: '#8c5ea9',
    500: '#571885',
    950: '#000000',
  },
}
SCSS
$custom: #571885;
$custom-light: #8c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#571885",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 274.679,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.16788,
    "h": 305.6
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#571885
secondary
#73B940
accent
#EC3C86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571885

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

Preview Lab → · Contrast checker → · Palette generator →

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