#571B97#571B97

#571B97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.183 H 299.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#571B97
RGBrgb(87, 27, 151)
HSLhsl(269, 70%, 35%)
HSVhsv(269, 82%, 59%)
CMYKcmyk(42.4%, 82.1%, 0%, 40.8%)
CIE-LABlab(26.86, 50.56, -55.84)
CIE-LCHlch(26.86, 75.33, 312.16°)
OKLaboklab(39.27% 0.0899 -0.1598)
OKLCHoklch(39.27% 0.183 299.4)
XYZxyz(9.9069, 5.0443, 29.7239)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B97 #5B971B
analogous
#1B1D97 #571B97 #951B97
triadic
#571B97 #97571B #1B9757
tetradic
#571B97 #971B1D #5B971B #1B9795
square
#571B97 #971B1D #5B971B #1B9795
split-complementary
#571B97 #97951B #1D971B
monochromatic
#1B082F #391263 #571B97 #7524CB #944DDF

Accessibility & contrast

On white

10.45
#571B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#571B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B97
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B97#FFFFFF#000000##FFFFFF
##571B971.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#473E5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571b97;
/* rgb */ color: rgb(87, 27, 151);
/* oklch */ color: oklch(39.3% 0.183 299.4);
Tailwind
colors: {
  custom: {
    50: '#8d60b7',
    500: '#571b97',
    950: '#000000',
  },
}
SCSS
$custom: #571b97;
$custom-light: #8d60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#571b97",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 269.032,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.18334,
    "h": 299.4
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#571B97
secondary
#89C14C
accent
#EC3B97
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571B97

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

Preview Lab → · Contrast checker → · Palette generator →

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