#57165E#57165E

#57165E is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.132 H 323.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#57165E
RGBrgb(87, 22, 94)
HSLhsl(294, 62%, 23%)
HSVhsv(294, 77%, 37%)
CMYKcmyk(7.4%, 76.6%, 0%, 63.1%)
CIE-LABlab(21.61, 39.56, -28.07)
CIE-LCHlch(21.61, 48.51, 324.65°)
OKLaboklab(34.15% 0.1065 -0.0782)
OKLCHoklch(34.15% 0.132 323.7)
XYZxyz(6.2376, 3.4086, 10.9169)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57165E #1D5E16
analogous
#33165E #57165E #5E1641
triadic
#57165E #5E5716 #165E57
tetradic
#57165E #5E3316 #1D5E16 #16415E
square
#57165E #5E3316 #1D5E16 #16415E
split-complementary
#57165E #415E16 #165E33
monochromatic
#170619 #290A2C #57165E #852290 #B32DC1

Accessibility & contrast

On white

12.49
#57165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#57165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57165E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57165E#FFFFFF#000000##FFFFFF
##57165E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#22365C
Tritanopia (blue-blind)
#592338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57165e;
/* rgb */ color: rgb(87, 22, 94);
/* oklch */ color: oklch(34.1% 0.132 323.7);
Tailwind
colors: {
  custom: {
    50: '#895b8c',
    500: '#57165e',
    950: '#000000',
  },
}
SCSS
$custom: #57165e;
$custom-light: #895b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#57165e",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 294.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34149,
    "c": 0.13212,
    "h": 323.7
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#57165E
secondary
#44953B
accent
#E54352
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57165E

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

Preview Lab → · Contrast checker → · Palette generator →

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