#571F88#571F88

#571F88 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.164 H 303.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#571F88
RGBrgb(87, 31, 136)
HSLhsl(272, 63%, 33%)
HSVhsv(272, 77%, 53%)
CMYKcmyk(36%, 77.2%, 0%, 46.7%)
CIE-LABlab(26.11, 45.23, -47.78)
CIE-LCHlch(26.11, 65.79, 313.43°)
OKLaboklab(38.34% 0.0907 -0.1361)
OKLCHoklch(38.34% 0.164 303.7)
XYZxyz(8.8634, 4.7838, 23.7442)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F88 #50881F
analogous
#231F88 #571F88 #881F84
triadic
#571F88 #88571F #1F8857
tetradic
#571F88 #88231F #50881F #1F8488
square
#571F88 #88231F #50881F #1F8488
split-complementary
#571F88 #84881F #1F8823
monochromatic
#170824 #371456 #571F88 #772ABA #954BD6

Accessibility & contrast

On white

10.73
#571F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#571F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F88
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F88#FFFFFF#000000##FFFFFF
##571F881.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#4D3A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571f88;
/* rgb */ color: rgb(87, 31, 136);
/* oklch */ color: oklch(38.3% 0.164 303.7);
Tailwind
colors: {
  custom: {
    50: '#8b61ab',
    500: '#571f88',
    950: '#000000',
  },
}
SCSS
$custom: #571f88;
$custom-light: #8b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#571f88",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 272,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.16361,
    "h": 303.7
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#571F88
secondary
#7EB94A
accent
#E6428E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571F88

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

Preview Lab → · Contrast checker → · Palette generator →

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