#571B7C#571B7C

#571B7C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.156 H 308.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#571B7C
RGBrgb(87, 27, 124)
HSLhsl(277, 64%, 30%)
HSVhsv(277, 78%, 49%)
CMYKcmyk(29.8%, 78.2%, 0%, 51.4%)
CIE-LABlab(24.53, 44.05, -42.79)
CIE-LCHlch(24.53, 61.42, 315.83°)
OKLaboklab(36.92% 0.0973 -0.1215)
OKLCHoklch(36.92% 0.156 308.7)
XYZxyz(7.9598, 4.2655, 19.4689)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B7C #407C1B
analogous
#261B7C #571B7C #7C1B71
triadic
#571B7C #7C571B #1B7C57
tetradic
#571B7C #7C261B #407C1B #1B717C
square
#571B7C #7C261B #407C1B #1B717C
split-complementary
#571B7C #717C1B #1B7C26
monochromatic
#120519 #34104A #571B7C #7A26AE #9B3DD5

Accessibility & contrast

On white

11.33
#571B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571B7C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B7C#FFFFFF#000000##FFFFFF
##571B7C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#51324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571b7c;
/* rgb */ color: rgb(87, 27, 124);
/* oklch */ color: oklch(36.9% 0.156 308.7);
Tailwind
colors: {
  custom: {
    50: '#8b5ea3',
    500: '#571b7c',
    950: '#000000',
  },
}
SCSS
$custom: #571b7c;
$custom-light: #8b5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#571b7c",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 277.113,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.1556,
    "h": 308.7
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#571B7C
secondary
#6CB043
accent
#E74180
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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