#57165B#57165B

#57165B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.129 H 325.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#57165B
RGBrgb(87, 22, 91)
HSLhsl(297, 61%, 22%)
HSVhsv(297, 76%, 36%)
CMYKcmyk(4.4%, 75.8%, 0%, 64.3%)
CIE-LABlab(21.42, 38.97, -26.39)
CIE-LCHlch(21.42, 47.06, 325.90°)
OKLaboklab(33.95% 0.1066 -0.0733)
OKLCHoklch(33.95% 0.129 325.5)
XYZxyz(6.1056, 3.3558, 10.2216)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57165B #1A5B16
analogous
#35165B #57165B #5B163D
triadic
#57165B #5B5716 #165B57
tetradic
#57165B #5B3516 #1A5B16 #163D5B
square
#57165B #5B3516 #1A5B16 #163D5B
split-complementary
#57165B #3D5B16 #165B35
monochromatic
#180619 #280A2A #57165B #86228C #B52EBE

Accessibility & contrast

On white

12.57
#57165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#57165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57165B
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57165B#FFFFFF#000000##FFFFFF
##57165B1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052E5D
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#592137
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57165b;
/* rgb */ color: rgb(87, 22, 91);
/* oklch */ color: oklch(33.9% 0.129 325.5);
Tailwind
colors: {
  custom: {
    50: '#895a8a',
    500: '#57165b',
    950: '#000000',
  },
}
SCSS
$custom: #57165b;
$custom-light: #895a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57165b",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 296.522,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.12936,
    "h": 325.5
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#57165B
secondary
#40923B
accent
#E4444D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57165B

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

Preview Lab → · Contrast checker → · Palette generator →

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