#571D7B#571D7B

#571D7B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.152 H 308.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#571D7B
RGBrgb(87, 29, 123)
HSLhsl(277, 62%, 30%)
HSVhsv(277, 76%, 48%)
CMYKcmyk(29.3%, 76.4%, 0%, 51.8%)
CIE-LABlab(24.75, 42.97, -41.80)
CIE-LCHlch(24.75, 59.95, 315.79°)
OKLaboklab(37.05% 0.0955 -0.1186)
OKLCHoklch(37.05% 0.152 308.8)
XYZxyz(7.9443, 4.3352, 19.1533)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571D7B #417B1D
analogous
#281D7B #571D7B #7B1D70
triadic
#571D7B #7B571D #1D7B57
tetradic
#571D7B #7B281D #417B1D #1D707B
square
#571D7B #7B281D #417B1D #1D707B
split-complementary
#571D7B #707B1D #1D7B28
monochromatic
#120619 #341149 #571D7B #7A29AD #9A40D2

Accessibility & contrast

On white

11.25
#571D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571D7B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571D7B#FFFFFF#000000##FFFFFF
##571D7B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#51334A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571d7b;
/* rgb */ color: rgb(87, 29, 123);
/* oklch */ color: oklch(37.0% 0.152 308.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fa2',
    500: '#571d7b',
    950: '#000000',
  },
}
SCSS
$custom: #571d7b;
$custom-light: #8a5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#571d7b",
  "rgb": {
    "r": 87,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 277.021,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37049,
    "c": 0.15222,
    "h": 308.8
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#571D7B
secondary
#6EAF45
accent
#E54381
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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