#57185D#57185D

#57185D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.129 H 324.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#57185D
RGBrgb(87, 24, 93)
HSLhsl(295, 59%, 23%)
HSVhsv(295, 74%, 36%)
CMYKcmyk(6.5%, 74.2%, 0%, 63.5%)
CIE-LABlab(21.84, 38.54, -27.04)
CIE-LCHlch(21.84, 47.08, 324.94°)
OKLaboklab(34.29% 0.1042 -0.0753)
OKLCHoklch(34.29% 0.129 324.2)
XYZxyz(6.2327, 3.4702, 10.6953)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57185D #1E5D18
analogous
#35185D #57185D #5D1840
triadic
#57185D #5D5718 #185D57
tetradic
#57185D #5D3518 #1E5D18 #18405D
square
#57185D #5D3518 #1E5D18 #18405D
split-complementary
#57185D #405D18 #185D35
monochromatic
#170618 #290B2C #57185D #85258E #B231BE

Accessibility & contrast

On white

12.40
#57185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57185D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57185D#FFFFFF#000000##FFFFFF
##57185D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062F5F
Deuteranopia (green-blind)
#24375B
Tritanopia (blue-blind)
#592338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57185d;
/* rgb */ color: rgb(87, 24, 93);
/* oklch */ color: oklch(34.3% 0.129 324.2);
Tailwind
colors: {
  custom: {
    50: '#895b8b',
    500: '#57185d',
    950: '#000000',
  },
}
SCSS
$custom: #57185d;
$custom-light: #895b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#57185d",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 294.783,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34289,
    "c": 0.12857,
    "h": 324.2
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#57185D
secondary
#45933D
accent
#E24653
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57185D

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

Preview Lab → · Contrast checker → · Palette generator →

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