#571F80#571F80

#571F80 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.155 H 306.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#571F80
RGBrgb(87, 31, 128)
HSLhsl(275, 61%, 31%)
HSVhsv(275, 76%, 50%)
CMYKcmyk(32%, 75.8%, 0%, 49.8%)
CIE-LABlab(25.46, 43.28, -43.82)
CIE-LCHlch(25.46, 61.59, 314.64°)
OKLaboklab(37.67% 0.0925 -0.1245)
OKLCHoklch(37.67% 0.155 306.6)
XYZxyz(8.3159, 4.5648, 20.8609)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F80 #48801F
analogous
#261F80 #571F80 #801F78
triadic
#571F80 #80571F #1F8057
tetradic
#571F80 #80261F #48801F #1F7880
square
#571F80 #80261F #48801F #1F7880
split-complementary
#571F80 #78801F #1F8026
monochromatic
#14071D #36134F #571F80 #782BB1 #9747D2

Accessibility & contrast

On white

10.98
#571F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F80
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F80#FFFFFF#000000##FFFFFF
##571F801.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#50364E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571f80;
/* rgb */ color: rgb(87, 31, 128);
/* oklch */ color: oklch(37.7% 0.155 306.6);
Tailwind
colors: {
  custom: {
    50: '#8b61a6',
    500: '#571f80',
    950: '#000000',
  },
}
SCSS
$custom: #571f80;
$custom-light: #8b61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#571f80",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 274.639,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.15508,
    "h": 306.6
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#571F80
secondary
#75B348
accent
#E44487
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571F80

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

Preview Lab → · Contrast checker → · Palette generator →

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