#572971#572971

#572971 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.124 H 311.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#572971
RGBrgb(87, 41, 113)
HSLhsl(278, 47%, 30%)
HSVhsv(278, 64%, 44%)
CMYKcmyk(23%, 63.7%, 0%, 55.7%)
CIE-LABlab(26.17, 34.61, -33.14)
CIE-LCHlch(26.17, 47.92, 316.24°)
OKLaboklab(37.84% 0.082 -0.0932)
OKLCHoklch(37.84% 0.124 311.3)
XYZxyz(7.7035, 4.8045, 16.1411)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572971 #437129
analogous
#332971 #572971 #712967
triadic
#572971 #715729 #297157
tetradic
#572971 #713329 #437129 #296771
square
#572971 #713329 #437129 #296771
split-complementary
#572971 #677129 #297133
monochromatic
#120817 #341944 #572971 #7A399E #9954C1

Accessibility & contrast

On white

10.71
#572971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#572971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572971
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572971#FFFFFF#000000##FFFFFF
##5729711.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C73
Deuteranopia (green-blind)
#233F6F
Tritanopia (blue-blind)
#543649
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572971;
/* rgb */ color: rgb(87, 41, 113);
/* oklch */ color: oklch(37.8% 0.124 311.3);
Tailwind
colors: {
  custom: {
    50: '#89669a',
    500: '#572971',
    950: '#000000',
  },
}
SCSS
$custom: #572971;
$custom-light: #89669a;
$custom-dark: #000000;
JSON
{
  "hex": "#572971",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 278.333,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.12417,
    "h": 311.3
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#572971
secondary
#70A353
accent
#D65181
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #572971

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

Preview Lab → · Contrast checker → · Palette generator →

#572971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva