#57156E#57156E

#57156E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.148 H 315.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#57156E
RGBrgb(87, 21, 110)
HSLhsl(284, 68%, 26%)
HSVhsv(284, 81%, 43%)
CMYKcmyk(20.9%, 80.9%, 0%, 56.9%)
CIE-LABlab(22.61, 43.27, -36.93)
CIE-LCHlch(22.61, 56.89, 319.52°)
OKLaboklab(35.22% 0.1057 -0.1042)
OKLCHoklch(35.22% 0.148 315.4)
XYZxyz(7.0127, 3.6886, 15.0914)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57156E #2C6E15
analogous
#2A156E #57156E #6E1558
triadic
#57156E #6E5715 #156E57
tetradic
#57156E #6E2A15 #2C6E15 #15586E
square
#57156E #6E2A15 #2C6E15 #15586E
split-complementary
#57156E #586E15 #156E2A
monochromatic
#14051A #2E0B3B #57156E #801FA1 #A829D5

Accessibility & contrast

On white

12.09
#57156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##57156E#FFFFFF#000000##FFFFFF
##57156E1.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)
#003270
Deuteranopia (green-blind)
#12386C
Tritanopia (blue-blind)
#552941
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #57156e;
/* rgb */ color: rgb(87, 21, 110);
/* oklch */ color: oklch(35.2% 0.148 315.4);
Tailwind
colors: {
  custom: {
    50: '#8a5b98',
    500: '#57156e',
    950: '#000000',
  },
}
SCSS
$custom: #57156e;
$custom-light: #8a5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#57156e",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 284.494,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35224,
    "c": 0.14842,
    "h": 315.4
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#57156E
secondary
#56A43A
accent
#EB3D6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57156E

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

Preview Lab → · Contrast checker → · Palette generator →

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