#571F7F#571F7F

#571F7F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.154 H 307.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#571F7F
RGBrgb(87, 31, 127)
HSLhsl(275, 61%, 31%)
HSVhsv(275, 76%, 50%)
CMYKcmyk(31.5%, 75.6%, 0%, 50.2%)
CIE-LABlab(25.38, 43.03, -43.32)
CIE-LCHlch(25.38, 61.06, 314.81°)
OKLaboklab(37.59% 0.0926 -0.123)
OKLCHoklch(37.59% 0.154 307)
XYZxyz(8.2504, 4.5386, 20.5160)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F7F #477F1F
analogous
#271F7F #571F7F #7F1F77
triadic
#571F7F #7F571F #1F7F57
tetradic
#571F7F #7F271F #477F1F #1F777F
square
#571F7F #7F271F #477F1F #1F777F
split-complementary
#571F7F #777F1F #1F7F27
monochromatic
#14071D #35134E #571F7F #792BB0 #9846D2

Accessibility & contrast

On white

11.01
#571F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#571F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F7F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F7F#FFFFFF#000000##FFFFFF
##571F7F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#50364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571f7f;
/* rgb */ color: rgb(87, 31, 127);
/* oklch */ color: oklch(37.6% 0.154 307.0);
Tailwind
colors: {
  custom: {
    50: '#8b60a5',
    500: '#571f7f',
    950: '#000000',
  },
}
SCSS
$custom: #571f7f;
$custom-light: #8b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#571f7f",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 275,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.15401,
    "h": 307
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#571F7F
secondary
#74B248
accent
#E44487
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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