#57124C#57124C

#57124C is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.122 H 335.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#57124C
RGBrgb(87, 18, 76)
HSLhsl(310, 66%, 21%)
HSVhsv(310, 79%, 34%)
CMYKcmyk(0%, 79.3%, 12.6%, 65.9%)
CIE-LABlab(19.97, 37.79, -18.58)
CIE-LCHlch(19.97, 42.11, 333.82°)
OKLaboklab(32.61% 0.1104 -0.0507)
OKLCHoklch(32.61% 0.122 335.3)
XYZxyz(5.4514, 2.9811, 7.1244)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57124C #12571D
analogous
#3F1257 #57124C #571229
triadic
#57124C #4C5712 #124C57
tetradic
#57124C #573F12 #12571D #122957
square
#57124C #573F12 #12571D #122957
split-complementary
#57124C #295712 #12573F
monochromatic
#190516 #240820 #57124C #8A1C78 #BC27A5

Accessibility & contrast

On white

13.16
#57124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#57124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57124C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57124C#FFFFFF#000000##FFFFFF
##57124C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4E
Deuteranopia (green-blind)
#2B344A
Tritanopia (blue-blind)
#5C172D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #57124c;
/* rgb */ color: rgb(87, 18, 76);
/* oklch */ color: oklch(32.6% 0.122 335.3);
Tailwind
colors: {
  custom: {
    50: '#89587e',
    500: '#57124c',
    950: '#000000',
  },
}
SCSS
$custom: #57124c;
$custom-light: #89587e;
$custom-dark: #000000;
JSON
{
  "hex": "#57124c",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 309.565,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.12151,
    "h": 335.3
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#57124C
secondary
#359044
accent
#E95A3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57124C

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

Preview Lab → · Contrast checker → · Palette generator →

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