#571C9E#571C9E

#571C9E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.190 H 297.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#571C9E
RGBrgb(87, 28, 158)
HSLhsl(267, 70%, 36%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(44.9%, 82.3%, 0%, 38%)
CIE-LABlab(27.64, 51.92, -58.85)
CIE-LCHlch(27.64, 78.48, 311.42°)
OKLaboklab(40.01% 0.0868 -0.1686)
OKLCHoklch(40.01% 0.19 297.2)
XYZxyz(10.5157, 5.3252, 32.8149)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C9E #639E1C
analogous
#1C229E #571C9E #981C9E
triadic
#571C9E #9E571C #1C9E57
tetradic
#571C9E #9E1C22 #639E1C #1C9E98
square
#571C9E #9E1C22 #639E1C #1C9E98
split-complementary
#571C9E #9E981C #229E1C
monochromatic
#1E0A36 #3A136A #571C9E #7425D2 #9454E1

Accessibility & contrast

On white

10.17
#571C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#571C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C9E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C9E#FFFFFF#000000##FFFFFF
##571C9E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#44425E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #571c9e;
/* rgb */ color: rgb(87, 28, 158);
/* oklch */ color: oklch(40.0% 0.190 297.2);
Tailwind
colors: {
  custom: {
    50: '#8e61bc',
    500: '#571c9e',
    950: '#000000',
  },
}
SCSS
$custom: #571c9e;
$custom-light: #8e61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#571c9e",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 267.231,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.18965,
    "h": 297.2
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#571C9E
secondary
#90C452
accent
#ED3B9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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