#571FA9#571FA9

#571FA9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.199 H 294.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#571FA9
RGBrgb(87, 31, 169)
HSLhsl(264, 69%, 39%)
HSVhsv(264, 82%, 66%)
CMYKcmyk(48.5%, 81.7%, 0%, 33.7%)
CIE-LABlab(29.08, 53.55, -63.15)
CIE-LCHlch(29.08, 82.79, 310.30°)
OKLaboklab(41.33% 0.081 -0.1812)
OKLCHoklch(41.33% 0.199 294.1)
XYZxyz(11.5799, 5.8704, 38.0514)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571FA9 #71A91F
analogous
#1F2CA9 #571FA9 #9C1FA9
triadic
#571FA9 #A9571F #1FA957
tetradic
#571FA9 #A91F2C #71A91F #1FA99C
square
#571FA9 #A91F2C #71A91F #1FA99C
split-complementary
#571FA9 #A99C1F #2CA91F
monochromatic
#220C42 #3C1675 #571FA9 #722DD8 #9560E2

Accessibility & contrast

On white

9.66
#571FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#571FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571FA9
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571FA9#FFFFFF#000000##FFFFFF
##571FA91.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#3E4765
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #571fa9;
/* rgb */ color: rgb(87, 31, 169);
/* oklch */ color: oklch(41.3% 0.199 294.1);
Tailwind
colors: {
  custom: {
    50: '#8f63c4',
    500: '#571fa9',
    950: '#000000',
  },
}
SCSS
$custom: #571fa9;
$custom-light: #8f63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#571fa9",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 264.348,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.19852,
    "h": 294.1
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#571FA9
secondary
#9CC75D
accent
#EC3CA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #571FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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