#57185A#57185A

#57185A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.126 H 326.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#57185A
RGBrgb(87, 24, 90)
HSLhsl(297, 58%, 22%)
HSVhsv(297, 73%, 35%)
CMYKcmyk(3.3%, 73.3%, 0%, 64.7%)
CIE-LABlab(21.65, 37.95, -25.36)
CIE-LCHlch(21.65, 45.64, 326.25°)
OKLaboklab(34.09% 0.1042 -0.0704)
OKLCHoklch(34.09% 0.126 326)
XYZxyz(6.1025, 3.4181, 10.0092)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57185A #1B5A18
analogous
#36185A #57185A #5A183C
triadic
#57185A #5A5718 #185A57
tetradic
#57185A #5A3618 #1B5A18 #183C5A
square
#57185A #5A3618 #1B5A18 #183C5A
split-complementary
#57185A #3C5A18 #185A36
monochromatic
#170618 #280B2A #57185A #86258A #B432BB

Accessibility & contrast

On white

12.47
#57185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#57185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57185A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57185A#FFFFFF#000000##FFFFFF
##57185A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#263758
Tritanopia (blue-blind)
#592237
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57185a;
/* rgb */ color: rgb(87, 24, 90);
/* oklch */ color: oklch(34.1% 0.126 326.0);
Tailwind
colors: {
  custom: {
    50: '#895b89',
    500: '#57185a',
    950: '#000000',
  },
}
SCSS
$custom: #57185a;
$custom-light: #895b89;
$custom-dark: #000000;
JSON
{
  "hex": "#57185a",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 297.273,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.12577,
    "h": 326
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#57185A
secondary
#41913D
accent
#E1474E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57185A

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

Preview Lab → · Contrast checker → · Palette generator →

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