#57115C#57115C

#57115C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.136 H 325.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#57115C
RGBrgb(87, 17, 92)
HSLhsl(296, 69%, 21%)
HSVhsv(296, 82%, 36%)
CMYKcmyk(5.4%, 81.5%, 0%, 63.9%)
CIE-LABlab(20.83, 41.03, -27.99)
CIE-LCHlch(20.83, 49.67, 325.70°)
OKLaboklab(33.55% 0.1117 -0.078)
OKLCHoklch(33.55% 0.136 325.1)
XYZxyz(6.0626, 3.2002, 10.4215)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57115C #165C11
analogous
#32115C #57115C #5C113C
triadic
#57115C #5C5711 #115C57
tetradic
#57115C #5C3211 #165C11 #113C5C
square
#57115C #5C3211 #165C11 #113C5C
split-complementary
#57115C #3C5C11 #115C32
monochromatic
#18051A #260728 #57115C #881B90 #B924C3

Accessibility & contrast

On white

12.80
#57115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#57115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57115C
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57115C#FFFFFF#000000##FFFFFF
##57115C1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#21355A
Tritanopia (blue-blind)
#591F36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57115c;
/* rgb */ color: rgb(87, 17, 92);
/* oklch */ color: oklch(33.5% 0.136 325.1);
Tailwind
colors: {
  custom: {
    50: '#89588a',
    500: '#57115c',
    950: '#000000',
  },
}
SCSS
$custom: #57115c;
$custom-light: #89588a;
$custom-dark: #000000;
JSON
{
  "hex": "#57115c",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 296,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33548,
    "c": 0.13621,
    "h": 325.1
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#57115C
secondary
#3A9534
accent
#EC3C48
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57115C

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

Preview Lab → · Contrast checker → · Palette generator →

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