#57115E#57115E

#57115E is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.138 H 323.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#57115E
RGBrgb(87, 17, 94)
HSLhsl(295, 69%, 22%)
HSVhsv(295, 82%, 37%)
CMYKcmyk(7.4%, 81.9%, 0%, 63.1%)
CIE-LABlab(20.96, 41.42, -29.10)
CIE-LCHlch(20.96, 50.62, 324.91°)
OKLaboklab(33.69% 0.1115 -0.0812)
OKLCHoklch(33.69% 0.138 323.9)
XYZxyz(6.1511, 3.2357, 10.8881)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57115E #185E11
analogous
#31115E #57115E #5E113F
triadic
#57115E #5E5711 #115E57
tetradic
#57115E #5E3111 #185E11 #113F5E
square
#57115E #5E3111 #185E11 #113F5E
split-complementary
#57115E #3F5E11 #115E31
monochromatic
#18051A #27082A #57115E #871A92 #B724C6

Accessibility & contrast

On white

12.75
#57115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#57115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57115E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57115E#FFFFFF#000000##FFFFFF
##57115E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#592037
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57115e;
/* rgb */ color: rgb(87, 17, 94);
/* oklch */ color: oklch(33.7% 0.138 323.9);
Tailwind
colors: {
  custom: {
    50: '#89598c',
    500: '#57115e',
    950: '#000000',
  },
}
SCSS
$custom: #57115e;
$custom-light: #89598c;
$custom-dark: #000000;
JSON
{
  "hex": "#57115e",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 294.545,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33688,
    "c": 0.13798,
    "h": 323.9
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#57115E
secondary
#3D9734
accent
#EC3C4C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57115E

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

Preview Lab → · Contrast checker → · Palette generator →

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