#571F7A#571F7A

#571F7A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.149 H 309.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#571F7A
RGBrgb(87, 31, 122)
HSLhsl(277, 59%, 30%)
HSVhsv(277, 75%, 48%)
CMYKcmyk(28.7%, 74.6%, 0%, 52.2%)
CIE-LABlab(24.99, 41.83, -40.78)
CIE-LCHlch(24.99, 58.42, 315.73°)
OKLaboklab(37.19% 0.0935 -0.1156)
OKLCHoklch(37.19% 0.149 309)
XYZxyz(7.9326, 4.4115, 18.8422)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F7A #427A1F
analogous
#291F7A #571F7A #7A1F70
triadic
#571F7A #7A571F #1F7A57
tetradic
#571F7A #7A291F #427A1F #1F707A
square
#571F7A #7A291F #427A1F #1F707A
split-complementary
#571F7A #707A1F #1F7A29
monochromatic
#110618 #341349 #571F7A #7A2BAB #9A44CF

Accessibility & contrast

On white

11.16
#571F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F7A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F7A#FFFFFF#000000##FFFFFF
##571F7A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#083C78
Tritanopia (blue-blind)
#52344A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571f7a;
/* rgb */ color: rgb(87, 31, 122);
/* oklch */ color: oklch(37.2% 0.149 309.0);
Tailwind
colors: {
  custom: {
    50: '#8a60a1',
    500: '#571f7a',
    950: '#000000',
  },
}
SCSS
$custom: #571f7a;
$custom-light: #8a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#571f7a",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 276.923,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.37193,
    "c": 0.14869,
    "h": 309
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#571F7A
secondary
#6FAD47
accent
#E34582
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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