#571F79#571F79

#571F79 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.148 H 309.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#571F79
RGBrgb(87, 31, 121)
HSLhsl(277, 59%, 30%)
HSVhsv(277, 74%, 47%)
CMYKcmyk(28.1%, 74.4%, 0%, 52.5%)
CIE-LABlab(24.91, 41.60, -40.27)
CIE-LCHlch(24.91, 57.90, 315.93°)
OKLaboklab(37.11% 0.0937 -0.1141)
OKLCHoklch(37.11% 0.148 309.4)
XYZxyz(7.8710, 4.3868, 18.5176)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F79 #41791F
analogous
#2A1F79 #571F79 #791F6E
triadic
#571F79 #79571F #1F7957
tetradic
#571F79 #792A1F #41791F #1F6E79
square
#571F79 #792A1F #41791F #1F6E79
split-complementary
#571F79 #6E791F #1F792A
monochromatic
#120618 #341348 #571F79 #7A2BAA #9A43CF

Accessibility & contrast

On white

11.19
#571F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F79
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F79#FFFFFF#000000##FFFFFF
##571F791.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#0B3C77
Tritanopia (blue-blind)
#52334A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571f79;
/* rgb */ color: rgb(87, 31, 121);
/* oklch */ color: oklch(37.1% 0.148 309.4);
Tailwind
colors: {
  custom: {
    50: '#8a60a0',
    500: '#571f79',
    950: '#000000',
  },
}
SCSS
$custom: #571f79;
$custom-light: #8a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#571f79",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 277.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37115,
    "c": 0.14762,
    "h": 309.4
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#571F79
secondary
#6EAC47
accent
#E24581
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571F79

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

Preview Lab → · Contrast checker → · Palette generator →

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