#57175F#57175F

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

Color values

HEX#57175F
RGBrgb(87, 23, 95)
HSLhsl(293, 61%, 23%)
HSVhsv(293, 76%, 37%)
CMYKcmyk(8.4%, 75.8%, 0%, 62.7%)
CIE-LABlab(21.82, 39.36, -28.39)
CIE-LCHlch(21.82, 48.53, 324.19°)
OKLaboklab(34.32% 0.1053 -0.0792)
OKLCHoklch(34.32% 0.132 323.1)
XYZxyz(6.3022, 3.4656, 11.1612)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57175F #1F5F17
analogous
#33175F #57175F #5F1743
triadic
#57175F #5F5717 #175F57
tetradic
#57175F #5F3317 #1F5F17 #17435F
square
#57175F #5F3317 #1F5F17 #17435F
split-complementary
#57175F #435F17 #175F33
monochromatic
#170619 #2A0B2E #57175F #842390 #B12FC2

Accessibility & contrast

On white

12.40
#57175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57175F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57175F#FFFFFF#000000##FFFFFF
##57175F1.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)
#003061
Deuteranopia (green-blind)
#22375D
Tritanopia (blue-blind)
#582439
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57175f;
/* rgb */ color: rgb(87, 23, 95);
/* oklch */ color: oklch(34.3% 0.132 323.1);
Tailwind
colors: {
  custom: {
    50: '#895b8d',
    500: '#57175f',
    950: '#000000',
  },
}
SCSS
$custom: #57175f;
$custom-light: #895b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#57175f",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 293.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.13177,
    "h": 323.1
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#57175F
secondary
#46963C
accent
#E44455
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57175F

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

Preview Lab → · Contrast checker → · Palette generator →

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