#571F83#571F83

#571F83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.158 H 305.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#571F83
RGBrgb(87, 31, 131)
HSLhsl(274, 62%, 32%)
HSVhsv(274, 76%, 51%)
CMYKcmyk(33.6%, 76.3%, 0%, 48.6%)
CIE-LABlab(25.70, 44.00, -45.32)
CIE-LCHlch(25.70, 63.17, 314.16°)
OKLaboklab(37.92% 0.0918 -0.1289)
OKLCHoklch(37.92% 0.158 305.5)
XYZxyz(8.5163, 4.6450, 21.9162)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F83 #4B831F
analogous
#251F83 #571F83 #831F7D
triadic
#571F83 #83571F #1F8357
tetradic
#571F83 #83251F #4B831F #1F7D83
square
#571F83 #83251F #4B831F #1F7D83
split-complementary
#571F83 #7D831F #1F8325
monochromatic
#150820 #361352 #571F83 #782BB4 #9749D4

Accessibility & contrast

On white

10.89
#571F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#571F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F83
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F83#FFFFFF#000000##FFFFFF
##571F831.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#4F374F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571f83;
/* rgb */ color: rgb(87, 31, 131);
/* oklch */ color: oklch(37.9% 0.158 305.5);
Tailwind
colors: {
  custom: {
    50: '#8b61a8',
    500: '#571f83',
    950: '#000000',
  },
}
SCSS
$custom: #571f83;
$custom-light: #8b61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#571f83",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 273.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.15828,
    "h": 305.5
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#571F83
secondary
#78B648
accent
#E5438A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571F83

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

Preview Lab → · Contrast checker → · Palette generator →

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