#571F82#571F82

#571F82 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.157 H 305.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#571F82
RGBrgb(87, 31, 130)
HSLhsl(274, 61%, 32%)
HSVhsv(274, 76%, 51%)
CMYKcmyk(33.1%, 76.2%, 0%, 49%)
CIE-LABlab(25.62, 43.76, -44.82)
CIE-LCHlch(25.62, 62.64, 314.31°)
OKLaboklab(37.84% 0.0921 -0.1274)
OKLCHoklch(37.84% 0.157 305.8)
XYZxyz(8.4488, 4.6180, 21.5610)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F82 #4A821F
analogous
#251F82 #571F82 #821F7C
triadic
#571F82 #82571F #1F8257
tetradic
#571F82 #82251F #4A821F #1F7C82
square
#571F82 #82251F #4A821F #1F7C82
split-complementary
#571F82 #7C821F #1F8225
monochromatic
#15071F #361351 #571F82 #782BB3 #9748D3

Accessibility & contrast

On white

10.92
#571F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#571F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F82
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F82#FFFFFF#000000##FFFFFF
##571F821.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571f82;
/* rgb */ color: rgb(87, 31, 130);
/* oklch */ color: oklch(37.8% 0.157 305.8);
Tailwind
colors: {
  custom: {
    50: '#8b61a7',
    500: '#571f82',
    950: '#000000',
  },
}
SCSS
$custom: #571f82;
$custom-light: #8b61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#571f82",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 273.939,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37838,
    "c": 0.15722,
    "h": 305.8
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#571F82
secondary
#77B548
accent
#E54389
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571F82

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

Preview Lab → · Contrast checker → · Palette generator →

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