#571F78#571F78

#571F78 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.147 H 309.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#571F78
RGBrgb(87, 31, 120)
HSLhsl(278, 59%, 30%)
HSVhsv(278, 74%, 47%)
CMYKcmyk(27.5%, 74.2%, 0%, 52.9%)
CIE-LABlab(24.84, 41.36, -39.76)
CIE-LCHlch(24.84, 57.37, 316.13°)
OKLaboklab(37.04% 0.0938 -0.1126)
OKLCHoklch(37.04% 0.147 309.8)
XYZxyz(7.8100, 4.3624, 18.1963)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F78 #40781F
analogous
#2B1F78 #571F78 #781F6D
triadic
#571F78 #78571F #1F7857
tetradic
#571F78 #782B1F #40781F #1F6D78
square
#571F78 #782B1F #40781F #1F6D78
split-complementary
#571F78 #6D781F #1F782B
monochromatic
#120618 #341247 #571F78 #7A2CA9 #9B43CE

Accessibility & contrast

On white

11.22
#571F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F78
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F78#FFFFFF#000000##FFFFFF
##571F781.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#0D3C76
Tritanopia (blue-blind)
#523349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571f78;
/* rgb */ color: rgb(87, 31, 120);
/* oklch */ color: oklch(37.0% 0.147 309.8);
Tailwind
colors: {
  custom: {
    50: '#8a60a0',
    500: '#571f78',
    950: '#000000',
  },
}
SCSS
$custom: #571f78;
$custom-light: #8a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#571f78",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 277.753,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.14655,
    "h": 309.8
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#571F78
secondary
#6CAB47
accent
#E24680
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571F78

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

Preview Lab → · Contrast checker → · Palette generator →

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