#57116A#57116A

#57116A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.149 H 317.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#57116A
RGBrgb(87, 17, 106)
HSLhsl(287, 72%, 24%)
HSVhsv(287, 84%, 42%)
CMYKcmyk(17.9%, 84%, 0%, 58.4%)
CIE-LABlab(21.83, 43.82, -35.60)
CIE-LCHlch(21.83, 56.46, 320.91°)
OKLaboklab(34.57% 0.11 -0.1003)
OKLCHoklch(34.57% 0.149 317.6)
XYZxyz(6.7321, 3.4680, 13.9477)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57116A #246A11
analogous
#2B116A #57116A #6A1151
triadic
#57116A #6A5711 #116A57
tetradic
#57116A #6A2B11 #246A11 #11516A
square
#57116A #6A2B11 #246A11 #11516A
split-complementary
#57116A #516A11 #116A2B
monochromatic
#16041A #2C0935 #57116A #82199F #AE22D3

Accessibility & contrast

On white

12.40
#57116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#57116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57116A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57116A#FFFFFF#000000##FFFFFF
##57116A1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#143668
Tritanopia (blue-blind)
#56263E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57116a;
/* rgb */ color: rgb(87, 17, 106);
/* oklch */ color: oklch(34.6% 0.149 317.6);
Tailwind
colors: {
  custom: {
    50: '#8a5995',
    500: '#57116a',
    950: '#000000',
  },
}
SCSS
$custom: #57116a;
$custom-light: #8a5995;
$custom-dark: #000000;
JSON
{
  "hex": "#57116a",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 287.191,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.14881,
    "h": 317.6
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#57116A
secondary
#4CA235
accent
#EF3960
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57116A

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

Preview Lab → · Contrast checker → · Palette generator →

#57116A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva