#571585#571585

#571585 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.171 H 305.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#571585
RGBrgb(87, 21, 133)
HSLhsl(275, 73%, 30%)
HSVhsv(275, 84%, 52%)
CMYKcmyk(34.6%, 84.2%, 0%, 47.8%)
CIE-LABlab(24.50, 48.42, -48.52)
CIE-LCHlch(24.50, 68.55, 314.94°)
OKLaboklab(37.13% 0.1001 -0.1383)
OKLCHoklch(37.13% 0.171 305.9)
XYZxyz(8.4313, 4.2561, 22.5631)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571585 #438515
analogous
#1F1585 #571585 #85157B
triadic
#571585 #855715 #158557
tetradic
#571585 #851F15 #438515 #157B85
square
#571585 #851F15 #438515 #157B85
split-complementary
#571585 #7B8515 #15851F
monochromatic
#12041B #340D50 #571585 #7A1DBA #9935DF

Accessibility & contrast

On white

11.34
#571585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571585
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571585#FFFFFF#000000##FFFFFF
##5715851.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#4E344E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571585;
/* rgb */ color: rgb(87, 21, 133);
/* oklch */ color: oklch(37.1% 0.171 305.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ca9',
    500: '#571585',
    950: '#000000',
  },
}
SCSS
$custom: #571585;
$custom-light: #8c5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#571585",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 275.357,
    "s": 72.727,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.17067,
    "h": 305.9
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#571585
secondary
#70B93C
accent
#EF3884
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571585

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

Preview Lab → · Contrast checker → · Palette generator →

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