#57124F#57124F

#57124F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.124 H 333.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#57124F
RGBrgb(87, 18, 79)
HSLhsl(307, 66%, 21%)
HSVhsv(307, 79%, 34%)
CMYKcmyk(0%, 79.3%, 9.2%, 65.9%)
CIE-LABlab(20.14, 38.30, -20.35)
CIE-LCHlch(20.14, 43.37, 332.02°)
OKLaboklab(32.79% 0.1107 -0.0558)
OKLCHoklch(32.79% 0.124 333.2)
XYZxyz(5.5581, 3.0238, 7.6865)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57124F #12571A
analogous
#3C1257 #57124F #57122C
triadic
#57124F #4F5712 #124F57
tetradic
#57124F #573C12 #12571A #122C57
square
#57124F #573C12 #12571A #122C57
split-complementary
#57124F #2C5712 #12573C
monochromatic
#190517 #240821 #57124F #8A1C7D #BC27AB

Accessibility & contrast

On white

13.09
#57124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57124F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57124F#FFFFFF#000000##FFFFFF
##57124F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#5B192F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #57124f;
/* rgb */ color: rgb(87, 18, 79);
/* oklch */ color: oklch(32.8% 0.124 333.2);
Tailwind
colors: {
  custom: {
    50: '#895880',
    500: '#57124f',
    950: '#000000',
  },
}
SCSS
$custom: #57124f;
$custom-light: #895880;
$custom-dark: #000000;
JSON
{
  "hex": "#57124f",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 306.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.12395,
    "h": 333.2
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#57124F
secondary
#359040
accent
#E9533F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57124F

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

Preview Lab → · Contrast checker → · Palette generator →

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