#571174#571174

#571174 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.158 H 313.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#571174
RGBrgb(87, 17, 116)
HSLhsl(282, 74%, 26%)
HSVhsv(282, 85%, 45%)
CMYKcmyk(25%, 85.3%, 0%, 54.5%)
CIE-LABlab(22.61, 45.93, -40.80)
CIE-LCHlch(22.61, 61.43, 318.39°)
OKLaboklab(35.37% 0.1078 -0.1155)
OKLCHoklch(35.37% 0.158 313)
XYZxyz(7.2827, 3.6883, 16.8479)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571174 #2E7411
analogous
#251174 #571174 #74115F
triadic
#571174 #745711 #117457
tetradic
#571174 #742511 #2E7411 #115F74
square
#571174 #742511 #2E7411 #115F74
split-complementary
#571174 #5F7411 #117425
monochromatic
#14041B #2F093F #571174 #7F19A9 #A721DE

Accessibility & contrast

On white

12.09
#571174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571174
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571174#FFFFFF#000000##FFFFFF
##5711741.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571174;
/* rgb */ color: rgb(87, 17, 116);
/* oklch */ color: oklch(35.4% 0.158 313.0);
Tailwind
colors: {
  custom: {
    50: '#8a5a9d',
    500: '#571174',
    950: '#000000',
  },
}
SCSS
$custom: #571174;
$custom-light: #8a5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571174",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 282.424,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35371,
    "c": 0.15803,
    "h": 313
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#571174
secondary
#58AB36
accent
#F1376D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571174

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

Preview Lab → · Contrast checker → · Palette generator →

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