#571C77#571C77

#571C77 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.149 H 310.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#571C77
RGBrgb(87, 28, 119)
HSLhsl(279, 62%, 29%)
HSVhsv(279, 76%, 47%)
CMYKcmyk(26.9%, 76.5%, 0%, 53.3%)
CIE-LABlab(24.29, 42.47, -40.01)
CIE-LCHlch(24.29, 58.34, 316.71°)
OKLaboklab(36.62% 0.0972 -0.1133)
OKLCHoklch(36.62% 0.149 310.6)
XYZxyz(7.6749, 4.1888, 17.8534)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C77 #3C771C
analogous
#2A1C77 #571C77 #771C6A
triadic
#571C77 #77571C #1C7757
tetradic
#571C77 #772A1C #3C771C #1C6A77
square
#571C77 #772A1C #3C771C #1C6A77
split-complementary
#571C77 #6A771C #1C772A
monochromatic
#120619 #331045 #571C77 #7B28A9 #9D3CD1

Accessibility & contrast

On white

11.43
#571C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#571C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C77
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C77#FFFFFF#000000##FFFFFF
##571C771.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571c77;
/* rgb */ color: rgb(87, 28, 119);
/* oklch */ color: oklch(36.6% 0.149 310.6);
Tailwind
colors: {
  custom: {
    50: '#8a5f9f',
    500: '#571c77',
    950: '#000000',
  },
}
SCSS
$custom: #571c77;
$custom-light: #8a5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571c77",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 278.901,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36623,
    "c": 0.14928,
    "h": 310.6
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#571C77
secondary
#68AB44
accent
#E5437C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #571C77

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

Preview Lab → · Contrast checker → · Palette generator →

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