#571F90#571F90

#571F90 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.172 H 301.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#571F90
RGBrgb(87, 31, 144)
HSLhsl(270, 65%, 34%)
HSVhsv(270, 78%, 56%)
CMYKcmyk(39.6%, 78.5%, 0%, 43.5%)
CIE-LABlab(26.79, 47.22, -51.64)
CIE-LCHlch(26.79, 69.97, 312.44°)
OKLaboklab(39.03% 0.0887 -0.1475)
OKLCHoklch(39.03% 0.172 301)
XYZxyz(9.4533, 5.0198, 26.8510)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F90 #58901F
analogous
#1F1F90 #571F90 #901F90
triadic
#571F90 #90571F #1F9057
tetradic
#571F90 #901F1F #58901F #1F9090
square
#571F90 #901F1F #58901F #1F9090
split-complementary
#571F90 #90901F #1F901F
monochromatic
#1A092B #39145E #571F90 #752AC2 #9450D9

Accessibility & contrast

On white

10.48
#571F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#571F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F90
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F90#FFFFFF#000000##FFFFFF
##571F901.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#4A3D57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #571f90;
/* rgb */ color: rgb(87, 31, 144);
/* oklch */ color: oklch(39.0% 0.172 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c61b1',
    500: '#571f90',
    950: '#000000',
  },
}
SCSS
$custom: #571f90;
$custom-light: #8c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#571f90",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 269.735,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.17212,
    "h": 301
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#571F90
secondary
#86BC4E
accent
#E84095
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F90

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

Preview Lab → · Contrast checker → · Palette generator →

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