#571774#571774

#571774 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.152 H 312.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#571774
RGBrgb(87, 23, 116)
HSLhsl(281, 67%, 27%)
HSVhsv(281, 80%, 45%)
CMYKcmyk(25%, 80.2%, 0%, 54.5%)
CIE-LABlab(23.34, 43.83, -39.62)
CIE-LCHlch(23.34, 59.08, 317.89°)
OKLaboklab(35.88% 0.1027 -0.1121)
OKLCHoklch(35.88% 0.152 312.5)
XYZxyz(7.3887, 3.9002, 16.8832)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571774 #347417
analogous
#281774 #571774 #741763
triadic
#571774 #745717 #177457
tetradic
#571774 #742817 #347417 #176374
square
#571774 #742817 #347417 #176374
split-complementary
#571774 #637417 #177428
monochromatic
#13051A #310D41 #571774 #7D21A7 #A230D6

Accessibility & contrast

On white

11.80
#571774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#571774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571774
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571774#FFFFFF#000000##FFFFFF
##5717741.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#083972
Tritanopia (blue-blind)
#542D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #571774;
/* rgb */ color: rgb(87, 23, 116);
/* oklch */ color: oklch(35.9% 0.152 312.5);
Tailwind
colors: {
  custom: {
    50: '#8a5c9d',
    500: '#571774',
    950: '#000000',
  },
}
SCSS
$custom: #571774;
$custom-light: #8a5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571774",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 281.29,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.15205,
    "h": 312.5
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#571774
secondary
#5FA93D
accent
#EA3E74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571774

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

Preview Lab → · Contrast checker → · Palette generator →

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