#571678#571678

#571678 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.157 H 310.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#571678
RGBrgb(87, 22, 120)
HSLhsl(280, 69%, 28%)
HSVhsv(280, 82%, 47%)
CMYKcmyk(27.5%, 81.7%, 0%, 52.9%)
CIE-LABlab(23.53, 45.10, -41.88)
CIE-LCHlch(23.53, 61.55, 317.12°)
OKLaboklab(36.11% 0.1028 -0.1187)
OKLCHoklch(36.11% 0.157 310.9)
XYZxyz(7.6069, 3.9563, 18.1286)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571678 #377816
analogous
#261678 #571678 #781668
triadic
#571678 #785716 #167857
tetradic
#571678 #782616 #377816 #166878
square
#571678 #782616 #377816 #166878
split-complementary
#571678 #687816 #167826
monochromatic
#13051A #320D44 #571678 #7C1FAC #A02FD9

Accessibility & contrast

On white

11.72
#571678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#571678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571678
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571678#FFFFFF#000000##FFFFFF
##5716781.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#532E47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571678;
/* rgb */ color: rgb(87, 22, 120);
/* oklch */ color: oklch(36.1% 0.157 310.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ca0',
    500: '#571678',
    950: '#000000',
  },
}
SCSS
$custom: #571678;
$custom-light: #8b5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#571678",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 279.796,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.15702,
    "h": 310.9
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#571678
secondary
#62AD3C
accent
#EC3C77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #571678

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

Preview Lab → · Contrast checker → · Palette generator →

#571678 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva