#57115A#57115A

#57115A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.134 H 326.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#57115A
RGBrgb(87, 17, 90)
HSLhsl(298, 68%, 21%)
HSVhsv(298, 81%, 35%)
CMYKcmyk(3.3%, 81.1%, 0%, 64.7%)
CIE-LABlab(20.70, 40.65, -26.87)
CIE-LCHlch(20.70, 48.73, 326.54°)
OKLaboklab(33.41% 0.1118 -0.0747)
OKLCHoklch(33.41% 0.134 326.2)
XYZxyz(5.9763, 3.1657, 9.9672)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57115A #145A11
analogous
#32115A #57115A #5A1138
triadic
#57115A #5A5711 #115A57
tetradic
#57115A #5A3211 #145A11 #11385A
square
#57115A #5A3211 #145A11 #11385A
split-complementary
#57115A #385A11 #115A32
monochromatic
#19051A #250727 #57115A #891B8D #BB24C1

Accessibility & contrast

On white

12.86
#57115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#57115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57115A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57115A#FFFFFF#000000##FFFFFF
##57115A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#233558
Tritanopia (blue-blind)
#591E35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57115a;
/* rgb */ color: rgb(87, 17, 90);
/* oklch */ color: oklch(33.4% 0.134 326.2);
Tailwind
colors: {
  custom: {
    50: '#895889',
    500: '#57115a',
    950: '#000000',
  },
}
SCSS
$custom: #57115a;
$custom-light: #895889;
$custom-dark: #000000;
JSON
{
  "hex": "#57115a",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 297.534,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.13446,
    "h": 326.2
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#57115A
secondary
#389334
accent
#EB3D44
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57115A

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

Preview Lab → · Contrast checker → · Palette generator →

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