#571FA7#571FA7

#571FA7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.196 H 294.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#571FA7
RGBrgb(87, 31, 167)
HSLhsl(265, 69%, 39%)
HSVhsv(265, 81%, 65%)
CMYKcmyk(47.9%, 81.4%, 0%, 34.5%)
CIE-LABlab(28.89, 53.04, -62.25)
CIE-LCHlch(28.89, 81.78, 310.43°)
OKLaboklab(41.14% 0.0817 -0.1786)
OKLCHoklch(41.14% 0.196 294.6)
XYZxyz(11.3936, 5.7959, 37.0701)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571FA7 #6FA71F
analogous
#1F2BA7 #571FA7 #9B1FA7
triadic
#571FA7 #A7571F #1FA757
tetradic
#571FA7 #A71F2B #6FA71F #1FA79B
square
#571FA7 #A71F2B #6FA71F #1FA79B
split-complementary
#571FA7 #A79B1F #2BA71F
monochromatic
#210C40 #3C1573 #571FA7 #722BD8 #955FE1

Accessibility & contrast

On white

9.73
#571FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#571FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571FA7
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571FA7#FFFFFF#000000##FFFFFF
##571FA71.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#3F4764
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #571fa7;
/* rgb */ color: rgb(87, 31, 167);
/* oklch */ color: oklch(41.1% 0.196 294.6);
Tailwind
colors: {
  custom: {
    50: '#8f63c2',
    500: '#571fa7',
    950: '#000000',
  },
}
SCSS
$custom: #571fa7;
$custom-light: #8f63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#571fa7",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 264.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.19641,
    "h": 294.6
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#571FA7
secondary
#9AC65C
accent
#EC3CA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #571FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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