#571F89#571F89

#571F89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.165 H 303.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#571F89
RGBrgb(87, 31, 137)
HSLhsl(272, 63%, 33%)
HSVhsv(272, 77%, 54%)
CMYKcmyk(36.5%, 77.4%, 0%, 46.3%)
CIE-LABlab(26.19, 45.48, -48.27)
CIE-LCHlch(26.19, 66.32, 313.30°)
OKLaboklab(38.42% 0.0905 -0.1376)
OKLCHoklch(38.42% 0.165 303.3)
XYZxyz(8.9348, 4.8124, 24.1202)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F89 #51891F
analogous
#221F89 #571F89 #891F86
triadic
#571F89 #89571F #1F8957
tetradic
#571F89 #89221F #51891F #1F8689
square
#571F89 #89221F #51891F #1F8689
split-complementary
#571F89 #86891F #1F8922
monochromatic
#180825 #371457 #571F89 #772ABB #954CD6

Accessibility & contrast

On white

10.70
#571F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F89
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F89#FFFFFF#000000##FFFFFF
##571F891.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#4D3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571f89;
/* rgb */ color: rgb(87, 31, 137);
/* oklch */ color: oklch(38.4% 0.165 303.3);
Tailwind
colors: {
  custom: {
    50: '#8b61ac',
    500: '#571f89',
    950: '#000000',
  },
}
SCSS
$custom: #571f89;
$custom-light: #8b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#571f89",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 271.698,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.16467,
    "h": 303.3
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#571F89
secondary
#7FB94B
accent
#E6428F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571F89

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

Preview Lab → · Contrast checker → · Palette generator →

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