#571D95#571D95

#571D95 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.179 H 299.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#571D95
RGBrgb(87, 29, 149)
HSLhsl(269, 67%, 35%)
HSVhsv(269, 81%, 58%)
CMYKcmyk(41.6%, 80.5%, 0%, 41.6%)
CIE-LABlab(26.95, 49.29, -54.47)
CIE-LCHlch(26.95, 73.46, 312.14°)
OKLaboklab(39.27% 0.089 -0.1558)
OKLCHoklch(39.27% 0.179 299.7)
XYZxyz(9.7933, 5.0748, 28.8915)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D95 #5B951D
analogous
#1D1F95 #571D95 #931D95
triadic
#571D95 #95571D #1D9557
tetradic
#571D95 #951D1F #5B951D #1D9593
square
#571D95 #951D1F #5B951D #1D9593
split-complementary
#571D95 #95931D #1F951D
monochromatic
#1B092F #391362 #571D95 #7527C8 #9450DD

Accessibility & contrast

On white

10.42
#571D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571D95
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D95#FFFFFF#000000##FFFFFF
##571D951.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#483E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571d95;
/* rgb */ color: rgb(87, 29, 149);
/* oklch */ color: oklch(39.3% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#8d61b5',
    500: '#571d95',
    950: '#000000',
  },
}
SCSS
$custom: #571d95;
$custom-light: #8d61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#571d95",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 269,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.1794,
    "h": 299.7
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#571D95
secondary
#89C04E
accent
#EA3D97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571D95

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

Preview Lab → · Contrast checker → · Palette generator →

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