#57185B#57185B

#57185B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.127 H 325.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#57185B
RGBrgb(87, 24, 91)
HSLhsl(296, 58%, 23%)
HSVhsv(296, 74%, 36%)
CMYKcmyk(4.4%, 73.6%, 0%, 64.3%)
CIE-LABlab(21.71, 38.14, -25.92)
CIE-LCHlch(21.71, 46.12, 325.80°)
OKLaboklab(34.16% 0.1042 -0.072)
OKLCHoklch(34.16% 0.127 325.4)
XYZxyz(6.1453, 3.4352, 10.2349)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57185B #1C5B18
analogous
#36185B #57185B #5B183D
triadic
#57185B #5B5718 #185B57
tetradic
#57185B #5B3618 #1C5B18 #183D5B
square
#57185B #5B3618 #1C5B18 #183D5B
split-complementary
#57185B #3D5B18 #185B36
monochromatic
#170618 #290B2B #57185B #85258B #B432BC

Accessibility & contrast

On white

12.45
#57185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#57185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57185B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57185B#FFFFFF#000000##FFFFFF
##57185B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5D
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#592337
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57185b;
/* rgb */ color: rgb(87, 24, 91);
/* oklch */ color: oklch(34.2% 0.127 325.4);
Tailwind
colors: {
  custom: {
    50: '#895b8a',
    500: '#57185b',
    950: '#000000',
  },
}
SCSS
$custom: #57185b;
$custom-light: #895b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57185b",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 296.418,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34157,
    "c": 0.12669,
    "h": 325.4
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#57185B
secondary
#42923D
accent
#E14650
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57185B

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

Preview Lab → · Contrast checker → · Palette generator →

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