#57124E#57124E

#57124E is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.123 H 333.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#57124E
RGBrgb(87, 18, 78)
HSLhsl(308, 66%, 21%)
HSVhsv(308, 79%, 34%)
CMYKcmyk(0%, 79.3%, 10.3%, 65.9%)
CIE-LABlab(20.08, 38.13, -19.76)
CIE-LCHlch(20.08, 42.95, 332.60°)
OKLaboklab(32.73% 0.1106 -0.0541)
OKLCHoklch(32.73% 0.123 333.9)
XYZxyz(5.5220, 3.0094, 7.4963)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57124E #12571B
analogous
#3D1257 #57124E #57122B
triadic
#57124E #4E5712 #124E57
tetradic
#57124E #573D12 #12571B #122B57
square
#57124E #573D12 #12571B #122B57
split-complementary
#57124E #2B5712 #12573D
monochromatic
#190517 #240821 #57124E #8A1C7B #BC27A9

Accessibility & contrast

On white

13.11
#57124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57124E
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57124E#FFFFFF#000000##FFFFFF
##57124E1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A50
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#5B182E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #57124e;
/* rgb */ color: rgb(87, 18, 78);
/* oklch */ color: oklch(32.7% 0.123 333.9);
Tailwind
colors: {
  custom: {
    50: '#895880',
    500: '#57124e',
    950: '#000000',
  },
}
SCSS
$custom: #57124e;
$custom-light: #895880;
$custom-dark: #000000;
JSON
{
  "hex": "#57124e",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 307.826,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.12312,
    "h": 333.9
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#57124E
secondary
#359041
accent
#E9553F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #57124E

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

Preview Lab → · Contrast checker → · Palette generator →

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