#571F84#571F84

#571F84 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.159 H 305.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#571F84
RGBrgb(87, 31, 132)
HSLhsl(273, 62%, 32%)
HSVhsv(273, 77%, 52%)
CMYKcmyk(34.1%, 76.5%, 0%, 48.2%)
CIE-LABlab(25.78, 44.25, -45.81)
CIE-LCHlch(25.78, 63.69, 314.01°)
OKLaboklab(38% 0.0916 -0.1304)
OKLCHoklch(38% 0.159 305.1)
XYZxyz(8.5844, 4.6722, 22.2749)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F84 #4C841F
analogous
#241F84 #571F84 #841F7F
triadic
#571F84 #84571F #1F8457
tetradic
#571F84 #84241F #4C841F #1F7F84
square
#571F84 #84241F #4C841F #1F7F84
split-complementary
#571F84 #7F841F #1F8424
monochromatic
#160821 #361352 #571F84 #782BB6 #9649D4

Accessibility & contrast

On white

10.86
#571F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F84
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F84#FFFFFF#000000##FFFFFF
##571F841.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#4F3850
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #571f84;
/* rgb */ color: rgb(87, 31, 132);
/* oklch */ color: oklch(38.0% 0.159 305.1);
Tailwind
colors: {
  custom: {
    50: '#8b61a9',
    500: '#571f84',
    950: '#000000',
  },
}
SCSS
$custom: #571f84;
$custom-light: #8b61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#571f84",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 273.267,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.15935,
    "h": 305.1
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#571F84
secondary
#79B748
accent
#E5438B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #571F84

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

Preview Lab → · Contrast checker → · Palette generator →

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