#571D97#571D97

#571D97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.181 H 299.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#571D97
RGBrgb(87, 29, 151)
HSLhsl(269, 68%, 35%)
HSVhsv(269, 81%, 59%)
CMYKcmyk(42.4%, 80.8%, 0%, 40.8%)
CIE-LABlab(27.13, 49.79, -55.41)
CIE-LCHlch(27.13, 74.49, 311.94°)
OKLaboklab(39.46% 0.0884 -0.1585)
OKLCHoklch(39.46% 0.181 299.1)
XYZxyz(9.9543, 5.1392, 29.7397)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D97 #5D971D
analogous
#1D2097 #571D97 #941D97
triadic
#571D97 #97571D #1D9757
tetradic
#571D97 #971D20 #5D971D #1D9794
square
#571D97 #971D20 #5D971D #1D9794
split-complementary
#571D97 #97941D #20971D
monochromatic
#1C0930 #391364 #571D97 #7527CA #9451DE

Accessibility & contrast

On white

10.36
#571D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#571D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D97
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D97#FFFFFF#000000##FFFFFF
##571D971.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.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: #571d97;
/* rgb */ color: rgb(87, 29, 151);
/* oklch */ color: oklch(39.5% 0.181 299.1);
Tailwind
colors: {
  custom: {
    50: '#8d61b7',
    500: '#571d97',
    950: '#000000',
  },
}
SCSS
$custom: #571d97;
$custom-light: #8d61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#571d97",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 268.525,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.18149,
    "h": 299.1
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#571D97
secondary
#8BC04F
accent
#EB3D98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571D97

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

Preview Lab → · Contrast checker → · Palette generator →

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