#571C97#571C97

#571C97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.182 H 299.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#571C97
RGBrgb(87, 28, 151)
HSLhsl(269, 69%, 35%)
HSVhsv(269, 81%, 59%)
CMYKcmyk(42.4%, 81.5%, 0%, 40.8%)
CIE-LABlab(26.99, 50.18, -55.63)
CIE-LCHlch(26.99, 74.92, 312.05°)
OKLaboklab(39.36% 0.0891 -0.1592)
OKLCHoklch(39.36% 0.182 299.2)
XYZxyz(9.9302, 5.0910, 29.7316)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C97 #5C971C
analogous
#1C1F97 #571C97 #941C97
triadic
#571C97 #97571C #1C9757
tetradic
#571C97 #971C1F #5C971C #1C9794
square
#571C97 #971C1F #5C971C #1C9794
split-complementary
#571C97 #97941C #1F971C
monochromatic
#1C0930 #391263 #571C97 #7526CB #944FDE

Accessibility & contrast

On white

10.41
#571C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#571C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C97
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C97#FFFFFF#000000##FFFFFF
##571C971.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#473F5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571c97;
/* rgb */ color: rgb(87, 28, 151);
/* oklch */ color: oklch(39.4% 0.182 299.2);
Tailwind
colors: {
  custom: {
    50: '#8d60b7',
    500: '#571c97',
    950: '#000000',
  },
}
SCSS
$custom: #571c97;
$custom-light: #8d60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#571c97",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 268.78,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.18242,
    "h": 299.2
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#571C97
secondary
#8AC14E
accent
#EC3C97
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C97

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

Preview Lab → · Contrast checker → · Palette generator →

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