#571F85#571F85

#571F85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.160 H 304.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#571F85
RGBrgb(87, 31, 133)
HSLhsl(273, 62%, 32%)
HSVhsv(273, 77%, 52%)
CMYKcmyk(34.6%, 76.7%, 0%, 47.8%)
CIE-LABlab(25.86, 44.49, -46.31)
CIE-LCHlch(25.86, 64.22, 313.86°)
OKLaboklab(38.09% 0.0914 -0.1318)
OKLCHoklch(38.09% 0.16 304.7)
XYZxyz(8.6531, 4.6997, 22.6370)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F85 #4D851F
analogous
#241F85 #571F85 #851F80
triadic
#571F85 #85571F #1F8557
tetradic
#571F85 #85241F #4D851F #1F8085
square
#571F85 #85241F #4D851F #1F8085
split-complementary
#571F85 #80851F #1F8524
monochromatic
#160822 #371353 #571F85 #772BB7 #964AD5

Accessibility & contrast

On white

10.82
#571F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#571F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F85
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F85#FFFFFF#000000##FFFFFF
##571F851.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4E3850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571f85;
/* rgb */ color: rgb(87, 31, 133);
/* oklch */ color: oklch(38.1% 0.160 304.7);
Tailwind
colors: {
  custom: {
    50: '#8b61a9',
    500: '#571f85',
    950: '#000000',
  },
}
SCSS
$custom: #571f85;
$custom-light: #8b61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#571f85",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 272.941,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.16041,
    "h": 304.7
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#571F85
secondary
#7AB749
accent
#E5438C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571F85

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

Preview Lab → · Contrast checker → · Palette generator →

#571F85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva