#571C8E#571C8E

#571C8E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.173 H 302.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#571C8E
RGBrgb(87, 28, 142)
HSLhsl(271, 67%, 33%)
HSVhsv(271, 80%, 56%)
CMYKcmyk(38.7%, 80.3%, 0%, 44.3%)
CIE-LABlab(26.19, 47.96, -51.39)
CIE-LCHlch(26.19, 70.30, 313.02°)
OKLaboklab(38.55% 0.0918 -0.1467)
OKLCHoklch(38.55% 0.173 302)
XYZxyz(9.2270, 4.8097, 26.0282)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571C8E #538E1C
analogous
#1E1C8E #571C8E #8E1C8C
triadic
#571C8E #8E571C #1C8E57
tetradic
#571C8E #8E1E1C #538E1C #1C8C8E
square
#571C8E #8E1E1C #538E1C #1C8C8E
split-complementary
#571C8E #8C8E1C #1C8E1E
monochromatic
#180828 #38125B #571C8E #7626C1 #9549DB

Accessibility & contrast

On white

10.70
#571C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#571C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571C8E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571C8E#FFFFFF#000000##FFFFFF
##571C8E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4B3B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571c8e;
/* rgb */ color: rgb(87, 28, 142);
/* oklch */ color: oklch(38.6% 0.173 302.0);
Tailwind
colors: {
  custom: {
    50: '#8c60b0',
    500: '#571c8e',
    950: '#000000',
  },
}
SCSS
$custom: #571c8e;
$custom-light: #8c60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#571c8e",
  "rgb": {
    "r": 87,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 271.053,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38551,
    "c": 0.17311,
    "h": 302
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#571C8E
secondary
#81BD49
accent
#EA3E91
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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