#571F7E#571F7E

#571F7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.153 H 307.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#571F7E
RGBrgb(87, 31, 126)
HSLhsl(275, 61%, 31%)
HSVhsv(275, 75%, 49%)
CMYKcmyk(31%, 75.4%, 0%, 50.6%)
CIE-LABlab(25.30, 42.79, -42.81)
CIE-LCHlch(25.30, 60.53, 314.99°)
OKLaboklab(37.51% 0.0928 -0.1215)
OKLCHoklch(37.51% 0.153 307.4)
XYZxyz(8.1856, 4.5127, 20.1744)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F7E #467E1F
analogous
#271F7E #571F7E #7E1F75
triadic
#571F7E #7E571F #1F7E57
tetradic
#571F7E #7E271F #467E1F #1F757E
square
#571F7E #7E271F #467E1F #1F757E
split-complementary
#571F7E #757E1F #1F7E27
monochromatic
#13071C #35134D #571F7E #792BAF #9846D1

Accessibility & contrast

On white

11.04
#571F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F7E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F7E#FFFFFF#000000##FFFFFF
##571F7E1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#51354D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571f7e;
/* rgb */ color: rgb(87, 31, 126);
/* oklch */ color: oklch(37.5% 0.153 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a60a4',
    500: '#571f7e',
    950: '#000000',
  },
}
SCSS
$custom: #571f7e;
$custom-light: #8a60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#571f7e",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 275.368,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.15294,
    "h": 307.4
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#571F7E
secondary
#73B148
accent
#E44486
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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