#57166F#57166F

#57166F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.148 H 314.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#57166F
RGBrgb(87, 22, 111)
HSLhsl(284, 67%, 26%)
HSVhsv(284, 80%, 44%)
CMYKcmyk(21.6%, 80.2%, 0%, 56.5%)
CIE-LABlab(22.82, 43.11, -37.24)
CIE-LCHlch(22.82, 56.97, 319.18°)
OKLaboklab(35.39% 0.1046 -0.1051)
OKLCHoklch(35.39% 0.148 314.9)
XYZxyz(7.0862, 3.7480, 15.3860)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57166F #2E6F16
analogous
#2A166F #57166F #6F165A
triadic
#57166F #6F5716 #166F57
tetradic
#57166F #6F2A16 #2E6F16 #165A6F
square
#57166F #6F2A16 #2E6F16 #165A6F
split-complementary
#57166F #5A6F16 #166F2A
monochromatic
#14051A #2F0C3C #57166F #7F20A2 #A72BD5

Accessibility & contrast

On white

12.00
#57166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#57166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##57166F#FFFFFF#000000##FFFFFF
##57166F1.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)
#003371
Deuteranopia (green-blind)
#11386D
Tritanopia (blue-blind)
#552A42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57166f;
/* rgb */ color: rgb(87, 22, 111);
/* oklch */ color: oklch(35.4% 0.148 314.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b99',
    500: '#57166f',
    950: '#000000',
  },
}
SCSS
$custom: #57166f;
$custom-light: #8a5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#57166f",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 283.82,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.14827,
    "h": 314.9
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#57166F
secondary
#58A53C
accent
#EA3E6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57166F

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

Preview Lab → · Contrast checker → · Palette generator →

#57166F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva