#571C95#571C95

#571C95 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.180 H 299.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#571C95
RGBrgb(87, 28, 149)
HSLhsl(269, 68%, 35%)
HSVhsv(269, 81%, 58%)
CMYKcmyk(41.6%, 81.2%, 0%, 41.6%)
CIE-LABlab(26.81, 49.68, -54.70)
CIE-LCHlch(26.81, 73.89, 312.25°)
OKLaboklab(39.18% 0.0898 -0.1564)
OKLCHoklch(39.18% 0.18 299.8)
XYZxyz(9.7692, 5.0266, 28.8835)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C95 #5A951C
analogous
#1C1E95 #571C95 #941C95
triadic
#571C95 #95571C #1C9557
tetradic
#571C95 #951C1E #5A951C #1C9594
square
#571C95 #951C1E #5A951C #1C9594
split-complementary
#571C95 #95941C #1E951C
monochromatic
#1B092E #391261 #571C95 #7526C9 #944EDE

Accessibility & contrast

On white

10.47
#571C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571C95
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C95#FFFFFF#000000##FFFFFF
##571C951.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#483E59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571c95;
/* rgb */ color: rgb(87, 28, 149);
/* oklch */ color: oklch(39.2% 0.180 299.8);
Tailwind
colors: {
  custom: {
    50: '#8d60b5',
    500: '#571c95',
    950: '#000000',
  },
}
SCSS
$custom: #571c95;
$custom-light: #8d60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#571c95",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 269.256,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.18036,
    "h": 299.8
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#571C95
secondary
#88C04D
accent
#EB3D96
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C95

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

Preview Lab → · Contrast checker → · Palette generator →

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