#57165D#57165D

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

Color values

HEX#57165D
RGBrgb(87, 22, 93)
HSLhsl(295, 62%, 23%)
HSVhsv(295, 76%, 36%)
CMYKcmyk(6.5%, 76.3%, 0%, 63.5%)
CIE-LABlab(21.55, 39.36, -27.51)
CIE-LCHlch(21.55, 48.02, 325.05°)
OKLaboklab(34.08% 0.1065 -0.0766)
OKLCHoklch(34.08% 0.131 324.3)
XYZxyz(6.1930, 3.3908, 10.6821)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57165D #1C5D16
analogous
#34165D #57165D #5D163F
triadic
#57165D #5D5716 #165D57
tetradic
#57165D #5D3416 #1C5D16 #163F5D
square
#57165D #5D3416 #1C5D16 #163F5D
split-complementary
#57165D #3F5D16 #165D34
monochromatic
#170619 #290A2C #57165D #85228E #B42DC0

Accessibility & contrast

On white

12.51
#57165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57165D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57165D#FFFFFF#000000##FFFFFF
##57165D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#592238
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57165d;
/* rgb */ color: rgb(87, 22, 93);
/* oklch */ color: oklch(34.1% 0.131 324.3);
Tailwind
colors: {
  custom: {
    50: '#895b8b',
    500: '#57165d',
    950: '#000000',
  },
}
SCSS
$custom: #57165d;
$custom-light: #895b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#57165d",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 294.93,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.1312,
    "h": 324.3
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#57165D
secondary
#42943B
accent
#E54351
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57165D

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

Preview Lab → · Contrast checker → · Palette generator →

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