#571978#571978

#571978 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.154 H 310.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#571978
RGBrgb(87, 25, 120)
HSLhsl(279, 66%, 28%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(27.5%, 79.2%, 0%, 52.9%)
CIE-LABlab(23.93, 43.95, -41.23)
CIE-LCHlch(23.93, 60.26, 316.83°)
OKLaboklab(36.39% 0.1 -0.1168)
OKLCHoklch(36.39% 0.154 310.6)
XYZxyz(7.6676, 4.0777, 18.1488)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571978 #3A7819
analogous
#271978 #571978 #781969
triadic
#571978 #785719 #197857
tetradic
#571978 #782719 #3A7819 #196978
square
#571978 #782719 #3A7819 #196978
split-complementary
#571978 #697819 #197827
monochromatic
#120519 #320E45 #571978 #7C24AB #9E36D5

Accessibility & contrast

On white

11.57
#571978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#571978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571978
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571978#FFFFFF#000000##FFFFFF
##5719781.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#023A76
Tritanopia (blue-blind)
#523048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #571978;
/* rgb */ color: rgb(87, 25, 120);
/* oklch */ color: oklch(36.4% 0.154 310.6);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#571978',
    950: '#000000',
  },
}
SCSS
$custom: #571978;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#571978",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 279.158,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36394,
    "c": 0.1538,
    "h": 310.6
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#571978
secondary
#66AD40
accent
#E83F7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #571978

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

Preview Lab → · Contrast checker → · Palette generator →

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