#57104C#57104C

#57104C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.124 H 335.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#57104C
RGBrgb(87, 16, 76)
HSLhsl(309, 69%, 20%)
HSVhsv(309, 82%, 34%)
CMYKcmyk(0%, 81.6%, 12.6%, 65.9%)
CIE-LABlab(19.72, 38.50, -18.97)
CIE-LCHlch(19.72, 42.93, 333.77°)
OKLaboklab(32.43% 0.1125 -0.0518)
OKLCHoklch(32.43% 0.124 335.3)
XYZxyz(5.4204, 2.9191, 7.1140)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57104C #10571B
analogous
#3F1057 #57104C #571028
triadic
#57104C #4C5710 #104C57
tetradic
#57104C #573F10 #10571B #102857
square
#57104C #573F10 #10571B #102857
split-complementary
#57104C #285710 #10573F
monochromatic
#1A0517 #23061F #57104C #8B1A79 #BE23A6

Accessibility & contrast

On white

13.26
#57104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#57104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57104C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57104C#FFFFFF#000000##FFFFFF
##57104C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#2A334A
Tritanopia (blue-blind)
#5C162D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #57104c;
/* rgb */ color: rgb(87, 16, 76);
/* oklch */ color: oklch(32.4% 0.124 335.3);
Tailwind
colors: {
  custom: {
    50: '#89577e',
    500: '#57104c',
    950: '#000000',
  },
}
SCSS
$custom: #57104c;
$custom-light: #89577e;
$custom-dark: #000000;
JSON
{
  "hex": "#57104c",
  "rgb": {
    "r": 87,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 309.296,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32434,
    "c": 0.1239,
    "h": 335.3
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#57104C
secondary
#329041
accent
#EC573C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #57104C

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

Preview Lab → · Contrast checker → · Palette generator →

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