#57156F#57156F

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

Color values

HEX#57156F
RGBrgb(87, 21, 111)
HSLhsl(284, 68%, 26%)
HSVhsv(284, 81%, 44%)
CMYKcmyk(21.6%, 81.1%, 0%, 56.5%)
CIE-LABlab(22.69, 43.49, -37.45)
CIE-LCHlch(22.69, 57.39, 319.26°)
OKLaboklab(35.3% 0.1055 -0.1057)
OKLCHoklch(35.3% 0.149 314.9)
XYZxyz(7.0674, 3.7105, 15.3798)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57156F #2D6F15
analogous
#2A156F #57156F #6F155A
triadic
#57156F #6F5715 #156F57
tetradic
#57156F #6F2A15 #2D6F15 #155A6F
square
#57156F #6F2A15 #2D6F15 #155A6F
split-complementary
#57156F #5A6F15 #156F2A
monochromatic
#14051A #2F0B3C #57156F #7F1FA2 #A828D6

Accessibility & contrast

On white

12.06
#57156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#57156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57156F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57156F#FFFFFF#000000##FFFFFF
##57156F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#552A42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57156f;
/* rgb */ color: rgb(87, 21, 111);
/* oklch */ color: oklch(35.3% 0.149 314.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b99',
    500: '#57156f',
    950: '#000000',
  },
}
SCSS
$custom: #57156f;
$custom-light: #8a5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#57156f",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 284,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.14937,
    "h": 314.9
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#57156F
secondary
#57A53A
accent
#EB3D6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57156F

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

Preview Lab → · Contrast checker → · Palette generator →

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