#57175C#57175C

#57175C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.129 H 324.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#57175C
RGBrgb(87, 23, 92)
HSLhsl(296, 60%, 23%)
HSVhsv(296, 75%, 36%)
CMYKcmyk(5.4%, 75%, 0%, 63.9%)
CIE-LABlab(21.62, 38.76, -26.72)
CIE-LCHlch(21.62, 47.08, 325.42°)
OKLaboklab(34.12% 0.1054 -0.0743)
OKLCHoklch(34.12% 0.129 324.8)
XYZxyz(6.1685, 3.4121, 10.4568)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57175C #1C5C17
analogous
#34175C #57175C #5C173F
triadic
#57175C #5C5717 #175C57
tetradic
#57175C #5C3417 #1C5C17 #173F5C
square
#57175C #5C3417 #1C5C17 #173F5C
split-complementary
#57175C #3F5C17 #175C34
monochromatic
#170618 #290B2B #57175C #85238D #B42FBE

Accessibility & contrast

On white

12.48
#57175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#57175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57175C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57175C#FFFFFF#000000##FFFFFF
##57175C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5E
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#592238
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57175c;
/* rgb */ color: rgb(87, 23, 92);
/* oklch */ color: oklch(34.1% 0.129 324.8);
Tailwind
colors: {
  custom: {
    50: '#895b8a',
    500: '#57175c',
    950: '#000000',
  },
}
SCSS
$custom: #57175c;
$custom-light: #895b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57175c",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 295.652,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34116,
    "c": 0.12897,
    "h": 324.8
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#57175C
secondary
#42933C
accent
#E34550
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57175C

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

Preview Lab → · Contrast checker → · Palette generator →

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