#571F9C#571F9C

#571F9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.185 H 297.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#571F9C
RGBrgb(87, 31, 156)
HSLhsl(267, 67%, 37%)
HSVhsv(267, 80%, 61%)
CMYKcmyk(44.2%, 80.1%, 0%, 38.8%)
CIE-LABlab(27.86, 50.24, -57.26)
CIE-LCHlch(27.86, 76.18, 311.26°)
OKLaboklab(40.11% 0.0852 -0.164)
OKLCHoklch(40.11% 0.185 297.5)
XYZxyz(10.4196, 5.4063, 31.9406)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F9C #649C1F
analogous
#1F269C #571F9C #961F9C
triadic
#571F9C #9C571F #1F9C57
tetradic
#571F9C #9C1F26 #649C1F #1F9C96
square
#571F9C #9C1F26 #649C1F #1F9C96
split-complementary
#571F9C #9C961F #269C1F
monochromatic
#1E0B36 #3B1569 #571F9C #7329CF #9458DE

Accessibility & contrast

On white

10.09
#571F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#571F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F9C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F9C#FFFFFF#000000##FFFFFF
##571F9C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#45425E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #571f9c;
/* rgb */ color: rgb(87, 31, 156);
/* oklch */ color: oklch(40.1% 0.185 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e62ba',
    500: '#571f9c',
    950: '#000000',
  },
}
SCSS
$custom: #571f9c;
$custom-light: #8e62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#571f9c",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 266.88,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40107,
    "c": 0.18483,
    "h": 297.5
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#571F9C
secondary
#91C155
accent
#EA3E9D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #571F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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