#571F9A#571F9A

#571F9A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.183 H 298.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#571F9A
RGBrgb(87, 31, 154)
HSLhsl(267, 66%, 36%)
HSVhsv(267, 80%, 60%)
CMYKcmyk(43.5%, 79.9%, 0%, 39.6%)
CIE-LABlab(27.68, 49.73, -56.34)
CIE-LCHlch(27.68, 75.15, 311.43°)
OKLaboklab(39.92% 0.0859 -0.1613)
OKLCHoklch(39.92% 0.183 298)
XYZxyz(10.2517, 5.3391, 31.0560)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F9A #629A1F
analogous
#1F259A #571F9A #951F9A
triadic
#571F9A #9A571F #1F9A57
tetradic
#571F9A #9A1F25 #629A1F #1F9A95
square
#571F9A #9A1F25 #629A1F #1F9A95
split-complementary
#571F9A #9A951F #259A1F
monochromatic
#1D0A34 #3A1567 #571F9A #7429CD #9456DD

Accessibility & contrast

On white

10.16
#571F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F9A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F9A#FFFFFF#000000##FFFFFF
##571F9A1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#46415C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #571f9a;
/* rgb */ color: rgb(87, 31, 154);
/* oklch */ color: oklch(39.9% 0.183 298.0);
Tailwind
colors: {
  custom: {
    50: '#8d62b9',
    500: '#571f9a',
    950: '#000000',
  },
}
SCSS
$custom: #571f9a;
$custom-light: #8d62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#571f9a",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 267.317,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.18271,
    "h": 298
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#571F9A
secondary
#8FC154
accent
#E93E9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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