#571785#571785

#571785 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.169 H 305.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#571785
RGBrgb(87, 23, 133)
HSLhsl(275, 71%, 31%)
HSVhsv(275, 83%, 52%)
CMYKcmyk(34.6%, 82.7%, 0%, 47.8%)
CIE-LABlab(24.74, 47.72, -48.13)
CIE-LCHlch(24.74, 67.77, 314.75°)
OKLaboklab(37.3% 0.0985 -0.1371)
OKLCHoklch(37.3% 0.169 305.7)
XYZxyz(8.4696, 4.3326, 22.5758)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571785 #458517
analogous
#201785 #571785 #85177C
triadic
#571785 #855717 #178557
tetradic
#571785 #852017 #458517 #177C85
square
#571785 #852017 #458517 #177C85
split-complementary
#571785 #7C8517 #178520
monochromatic
#13051D #350E51 #571785 #7920B9 #993ADD

Accessibility & contrast

On white

11.25
#571785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571785
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571785#FFFFFF#000000##FFFFFF
##5717851.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.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: #571785;
/* rgb */ color: rgb(87, 23, 133);
/* oklch */ color: oklch(37.3% 0.169 305.7);
Tailwind
colors: {
  custom: {
    50: '#8c5da9',
    500: '#571785',
    950: '#000000',
  },
}
SCSS
$custom: #571785;
$custom-light: #8c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#571785",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 274.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.16884,
    "h": 305.7
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#571785
secondary
#72B93F
accent
#ED3B85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571785

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

Preview Lab → · Contrast checker → · Palette generator →

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