#571374#571374

#571374 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.156 H 312.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#571374
RGBrgb(87, 19, 116)
HSLhsl(282, 72%, 26%)
HSVhsv(282, 84%, 45%)
CMYKcmyk(25%, 83.6%, 0%, 54.5%)
CIE-LABlab(22.84, 45.28, -40.43)
CIE-LCHlch(22.84, 60.70, 318.23°)
OKLaboklab(35.53% 0.1062 -0.1145)
OKLCHoklch(35.53% 0.156 312.9)
XYZxyz(7.3152, 3.7532, 16.8587)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571374 #307413
analogous
#271374 #571374 #741361
triadic
#571374 #745713 #137457
tetradic
#571374 #742713 #307413 #136174
square
#571374 #742713 #307413 #136174
split-complementary
#571374 #617413 #137427
monochromatic
#14041A #300A3F #571374 #7E1CA9 #A526DB

Accessibility & contrast

On white

12.00
#571374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571374
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571374#FFFFFF#000000##FFFFFF
##5713741.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#033872
Tritanopia (blue-blind)
#542B44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571374;
/* rgb */ color: rgb(87, 19, 116);
/* oklch */ color: oklch(35.5% 0.156 312.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b9d',
    500: '#571374',
    950: '#000000',
  },
}
SCSS
$custom: #571374;
$custom-light: #8a5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571374",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 282.062,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.15617,
    "h": 312.9
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#571374
secondary
#5AAA38
accent
#EF396F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571374

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

Preview Lab → · Contrast checker → · Palette generator →

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