#571FA6#571FA6

#571FA6 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.195 H 294.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#571FA6
RGBrgb(87, 31, 166)
HSLhsl(265, 69%, 39%)
HSVhsv(265, 81%, 65%)
CMYKcmyk(47.6%, 81.3%, 0%, 34.9%)
CIE-LABlab(28.80, 52.78, -61.81)
CIE-LCHlch(28.80, 81.28, 310.50°)
OKLaboklab(41.04% 0.082 -0.1773)
OKLCHoklch(41.04% 0.195 294.8)
XYZxyz(11.3015, 5.7591, 36.5852)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571FA6 #6EA61F
analogous
#1F2AA6 #571FA6 #9A1FA6
triadic
#571FA6 #A6571F #1FA657
tetradic
#571FA6 #A61F2A #6EA61F #1FA69A
square
#571FA6 #A61F2A #6EA61F #1FA69A
split-complementary
#571FA6 #A69A1F #2AA61F
monochromatic
#210C3F #3C1572 #571FA6 #722BD7 #955EE1

Accessibility & contrast

On white

9.76
#571FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#571FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571FA6
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571FA6#FFFFFF#000000##FFFFFF
##571FA61.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#3F4663
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #571fa6;
/* rgb */ color: rgb(87, 31, 166);
/* oklch */ color: oklch(41.0% 0.195 294.8);
Tailwind
colors: {
  custom: {
    50: '#8f63c2',
    500: '#571fa6',
    950: '#000000',
  },
}
SCSS
$custom: #571fa6;
$custom-light: #8f63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#571fa6",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 264.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.19537,
    "h": 294.8
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#571FA6
secondary
#99C55B
accent
#EB3CA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #571FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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