#571D77#571D77

#571D77 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.148 H 310.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#571D77
RGBrgb(87, 29, 119)
HSLhsl(279, 61%, 29%)
HSVhsv(279, 76%, 47%)
CMYKcmyk(26.9%, 75.6%, 0%, 53.3%)
CIE-LABlab(24.44, 42.03, -39.76)
CIE-LCHlch(24.44, 57.85, 316.59°)
OKLaboklab(36.73% 0.0962 -0.1126)
OKLCHoklch(36.73% 0.148 310.5)
XYZxyz(7.6990, 4.2371, 17.8614)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D77 #3D771D
analogous
#2A1D77 #571D77 #771D6A
triadic
#571D77 #77571D #1D7757
tetradic
#571D77 #772A1D #3D771D #1D6A77
square
#571D77 #772A1D #3D771D #1D6A77
split-complementary
#571D77 #6A771D #1D772A
monochromatic
#120619 #331146 #571D77 #7B29A8 #9C3ED0

Accessibility & contrast

On white

11.37
#571D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#571D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D77
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D77#FFFFFF#000000##FFFFFF
##571D771.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#0C3B75
Tritanopia (blue-blind)
#533148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571d77;
/* rgb */ color: rgb(87, 29, 119);
/* oklch */ color: oklch(36.7% 0.148 310.5);
Tailwind
colors: {
  custom: {
    50: '#8a5f9f',
    500: '#571d77',
    950: '#000000',
  },
}
SCSS
$custom: #571d77;
$custom-light: #8a5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571d77",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 278.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.14804,
    "h": 310.5
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#571D77
secondary
#69AB45
accent
#E4447D
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571D77

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

Preview Lab → · Contrast checker → · Palette generator →

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