#57175D#57175D

#57175D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.130 H 324.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#57175D
RGBrgb(87, 23, 93)
HSLhsl(295, 60%, 23%)
HSVhsv(295, 75%, 36%)
CMYKcmyk(6.5%, 75.3%, 0%, 63.5%)
CIE-LABlab(21.69, 38.96, -27.28)
CIE-LCHlch(21.69, 47.56, 325.00°)
OKLaboklab(34.18% 0.1054 -0.076)
OKLCHoklch(34.18% 0.13 324.2)
XYZxyz(6.2125, 3.4297, 10.6886)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57175D #1D5D17
analogous
#34175D #57175D #5D1740
triadic
#57175D #5D5717 #175D57
tetradic
#57175D #5D3417 #1D5D17 #17405D
square
#57175D #5D3417 #1D5D17 #17405D
split-complementary
#57175D #405D17 #175D34
monochromatic
#170619 #290B2C #57175D #85238E #B32FBF

Accessibility & contrast

On white

12.46
#57175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57175D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57175D#FFFFFF#000000##FFFFFF
##57175D1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57175d;
/* rgb */ color: rgb(87, 23, 93);
/* oklch */ color: oklch(34.2% 0.130 324.2);
Tailwind
colors: {
  custom: {
    50: '#895b8b',
    500: '#57175d',
    950: '#000000',
  },
}
SCSS
$custom: #57175d;
$custom-light: #895b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#57175d",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 294.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34183,
    "c": 0.1299,
    "h": 324.2
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#57175D
secondary
#44943C
accent
#E34452
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57175D

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

Preview Lab → · Contrast checker → · Palette generator →

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