#57104E#57104E

#57104E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.126 H 333.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#57104E
RGBrgb(87, 16, 78)
HSLhsl(308, 69%, 20%)
HSVhsv(308, 82%, 34%)
CMYKcmyk(0%, 81.6%, 10.3%, 65.9%)
CIE-LABlab(19.83, 38.84, -20.15)
CIE-LCHlch(19.83, 43.76, 332.58°)
OKLaboklab(32.55% 0.1127 -0.0552)
OKLCHoklch(32.55% 0.126 333.9)
XYZxyz(5.4910, 2.9474, 7.4860)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57104E #105719
analogous
#3D1057 #57104E #57102A
triadic
#57104E #4E5710 #104E57
tetradic
#57104E #573D10 #105719 #102A57
square
#57104E #573D10 #105719 #102A57
split-complementary
#57104E #2A5710 #10573D
monochromatic
#1A0517 #230620 #57104E #8B1A7C #BE23AB

Accessibility & contrast

On white

13.21
#57104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#57104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57104E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57104E#FFFFFF#000000##FFFFFF
##57104E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2950
Deuteranopia (green-blind)
#29344C
Tritanopia (blue-blind)
#5B172E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #57104e;
/* rgb */ color: rgb(87, 16, 78);
/* oklch */ color: oklch(32.6% 0.126 333.9);
Tailwind
colors: {
  custom: {
    50: '#895780',
    500: '#57104e',
    950: '#000000',
  },
}
SCSS
$custom: #57104e;
$custom-light: #895780;
$custom-dark: #000000;
JSON
{
  "hex": "#57104e",
  "rgb": {
    "r": 87,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 307.606,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32553,
    "c": 0.1255,
    "h": 333.9
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#57104E
secondary
#32903E
accent
#EC523C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57104E

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

Preview Lab → · Contrast checker → · Palette generator →

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