#571B77#571B77

#571B77 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.150 H 310.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#571B77
RGBrgb(87, 27, 119)
HSLhsl(279, 63%, 29%)
HSVhsv(279, 77%, 47%)
CMYKcmyk(26.9%, 77.3%, 0%, 53.3%)
CIE-LABlab(24.14, 42.89, -40.25)
CIE-LCHlch(24.14, 58.82, 316.82°)
OKLaboklab(36.52% 0.0982 -0.114)
OKLCHoklch(36.52% 0.15 310.8)
XYZxyz(7.6515, 4.1422, 17.8456)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B77 #3B771B
analogous
#291B77 #571B77 #771B69
triadic
#571B77 #77571B #1B7757
tetradic
#571B77 #77291B #3B771B #1B6977
square
#571B77 #77291B #3B771B #1B6977
split-complementary
#571B77 #69771B #1B7729
monochromatic
#120619 #331045 #571B77 #7B26A9 #9D3AD2

Accessibility & contrast

On white

11.49
#571B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#571B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B77
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B77#FFFFFF#000000##FFFFFF
##571B771.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#083A75
Tritanopia (blue-blind)
#533048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571b77;
/* rgb */ color: rgb(87, 27, 119);
/* oklch */ color: oklch(36.5% 0.150 310.8);
Tailwind
colors: {
  custom: {
    50: '#8a5e9f',
    500: '#571b77',
    950: '#000000',
  },
}
SCSS
$custom: #571b77;
$custom-light: #8a5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571b77",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 279.13,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.15048,
    "h": 310.8
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#571B77
secondary
#67AB42
accent
#E6427B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571B77

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

Preview Lab → · Contrast checker → · Palette generator →

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