#571F9D#571F9D

#571F9D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.186 H 297.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#571F9D
RGBrgb(87, 31, 157)
HSLhsl(267, 67%, 37%)
HSVhsv(267, 80%, 62%)
CMYKcmyk(44.6%, 80.3%, 0%, 38.4%)
CIE-LABlab(27.95, 50.49, -57.72)
CIE-LCHlch(27.95, 76.69, 311.18°)
OKLaboklab(40.2% 0.0849 -0.1653)
OKLCHoklch(40.2% 0.186 297.2)
XYZxyz(10.5047, 5.4403, 32.3884)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F9D #659D1F
analogous
#1F269D #571F9D #961F9D
triadic
#571F9D #9D571F #1F9D57
tetradic
#571F9D #9D1F26 #659D1F #1F9D96
square
#571F9D #9D1F26 #659D1F #1F9D96
split-complementary
#571F9D #9D961F #269D1F
monochromatic
#1E0B37 #3B156A #571F9D #7329D0 #9458DE

Accessibility & contrast

On white

10.06
#571F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#571F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F9D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F9D#FFFFFF#000000##FFFFFF
##571F9D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#44425E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #571f9d;
/* rgb */ color: rgb(87, 31, 157);
/* oklch */ color: oklch(40.2% 0.186 297.2);
Tailwind
colors: {
  custom: {
    50: '#8e62bb',
    500: '#571f9d',
    950: '#000000',
  },
}
SCSS
$custom: #571f9d;
$custom-light: #8e62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#571f9d",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 266.667,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40199,
    "c": 0.18589,
    "h": 297.2
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#571F9D
secondary
#92C256
accent
#EA3E9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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