#571674#571674

#571674 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.153 H 312.6°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#571674
RGBrgb(87, 22, 116)
HSLhsl(281, 68%, 27%)
HSVhsv(281, 81%, 45%)
CMYKcmyk(25%, 81%, 0%, 54.5%)
CIE-LABlab(23.21, 44.21, -39.83)
CIE-LCHlch(23.21, 59.51, 317.98°)
OKLaboklab(35.79% 0.1036 -0.1127)
OKLCHoklch(35.79% 0.153 312.6)
XYZxyz(7.3692, 3.8612, 16.8767)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571674 #337416
analogous
#281674 #571674 #741662
triadic
#571674 #745716 #167457
tetradic
#571674 #742816 #337416 #166274
square
#571674 #742816 #337416 #166274
split-complementary
#571674 #627416 #167428
monochromatic
#13051A #300C41 #571674 #7E20A7 #A32DD7

Accessibility & contrast

On white

11.85
#571674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#571674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571674
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571674#FFFFFF#000000##FFFFFF
##5716741.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571674;
/* rgb */ color: rgb(87, 22, 116);
/* oklch */ color: oklch(35.8% 0.153 312.6);
Tailwind
colors: {
  custom: {
    50: '#8a5c9d',
    500: '#571674',
    950: '#000000',
  },
}
SCSS
$custom: #571674;
$custom-light: #8a5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571674",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 281.489,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35788,
    "c": 0.15312,
    "h": 312.6
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#571674
secondary
#5EAA3C
accent
#EB3D73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571674

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

Preview Lab → · Contrast checker → · Palette generator →

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