#571F92#571F92

#571F92 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.174 H 300.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#571F92
RGBrgb(87, 31, 146)
HSLhsl(269, 65%, 35%)
HSVhsv(269, 79%, 57%)
CMYKcmyk(40.4%, 78.8%, 0%, 42.7%)
CIE-LABlab(26.97, 47.72, -52.59)
CIE-LCHlch(26.97, 71.01, 312.22°)
OKLaboklab(39.21% 0.0882 -0.1503)
OKLCHoklch(39.21% 0.174 300.4)
XYZxyz(9.6075, 5.0814, 27.6632)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F92 #5A921F
analogous
#1F2192 #571F92 #901F92
triadic
#571F92 #92571F #1F9257
tetradic
#571F92 #921F21 #5A921F #1F9290
square
#571F92 #921F21 #5A921F #1F9290
split-complementary
#571F92 #92901F #21921F
monochromatic
#1B0A2D #391460 #571F92 #752AC4 #9451DA

Accessibility & contrast

On white

10.41
#571F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#571F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F92
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F92#FFFFFF#000000##FFFFFF
##571F921.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#493E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #571f92;
/* rgb */ color: rgb(87, 31, 146);
/* oklch */ color: oklch(39.2% 0.174 300.4);
Tailwind
colors: {
  custom: {
    50: '#8c61b3',
    500: '#571f92',
    950: '#000000',
  },
}
SCSS
$custom: #571f92;
$custom-light: #8c61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#571f92",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 269.217,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39205,
    "c": 0.17424,
    "h": 300.4
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#571F92
secondary
#88BD50
accent
#E84096
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571F92

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

Preview Lab → · Contrast checker → · Palette generator →

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