#57175B#57175B

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

Color values

HEX#57175B
RGBrgb(87, 23, 91)
HSLhsl(296, 60%, 22%)
HSVhsv(296, 75%, 36%)
CMYKcmyk(4.4%, 74.7%, 0%, 64.3%)
CIE-LABlab(21.56, 38.56, -26.16)
CIE-LCHlch(21.56, 46.60, 325.85°)
OKLaboklab(34.05% 0.1054 -0.0727)
OKLCHoklch(34.05% 0.128 325.4)
XYZxyz(6.1251, 3.3948, 10.2281)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57175B #1B5B17
analogous
#35175B #57175B #5B173D
triadic
#57175B #5B5717 #175B57
tetradic
#57175B #5B3517 #1B5B17 #173D5B
square
#57175B #5B3517 #1B5B17 #173D5B
split-complementary
#57175B #3D5B17 #175B35
monochromatic
#170618 #280B2A #57175B #86238C #B430BD

Accessibility & contrast

On white

12.51
#57175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57175B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57175B#FFFFFF#000000##FFFFFF
##57175B1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5D
Deuteranopia (green-blind)
#253659
Tritanopia (blue-blind)
#592237
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57175b;
/* rgb */ color: rgb(87, 23, 91);
/* oklch */ color: oklch(34.1% 0.128 325.4);
Tailwind
colors: {
  custom: {
    50: '#895b8a',
    500: '#57175b',
    950: '#000000',
  },
}
SCSS
$custom: #57175b;
$custom-light: #895b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57175b",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 296.471,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3405,
    "c": 0.12804,
    "h": 325.4
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#57175B
secondary
#41923C
accent
#E3454E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57175B

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

Preview Lab → · Contrast checker → · Palette generator →

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