#571474#571474

#571474 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.155 H 312.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#571474
RGBrgb(87, 20, 116)
HSLhsl(282, 71%, 27%)
HSVhsv(282, 83%, 45%)
CMYKcmyk(25%, 82.8%, 0%, 54.5%)
CIE-LABlab(22.96, 44.93, -40.24)
CIE-LCHlch(22.96, 60.32, 318.15°)
OKLaboklab(35.61% 0.1054 -0.1139)
OKLCHoklch(35.61% 0.155 312.8)
XYZxyz(7.3325, 3.7877, 16.8645)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571474 #317414
analogous
#271474 #571474 #741461
triadic
#571474 #745714 #147457
tetradic
#571474 #742714 #317414 #146174
square
#571474 #742714 #317414 #146174
split-complementary
#571474 #617414 #147427
monochromatic
#14051A #300B40 #571474 #7E1DA8 #A428DA

Accessibility & contrast

On white

11.95
#571474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571474
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571474#FFFFFF#000000##FFFFFF
##5714741.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#043872
Tritanopia (blue-blind)
#542C44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571474;
/* rgb */ color: rgb(87, 20, 116);
/* oklch */ color: oklch(35.6% 0.155 312.8);
Tailwind
colors: {
  custom: {
    50: '#8a5b9d',
    500: '#571474',
    950: '#000000',
  },
}
SCSS
$custom: #571474;
$custom-light: #8a5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571474",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 281.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.15519,
    "h": 312.8
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#571474
secondary
#5CAA3A
accent
#ED3A70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571474

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

Preview Lab → · Contrast checker → · Palette generator →

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