#57125C#57125C

#57125C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.135 H 325.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#57125C
RGBrgb(87, 18, 92)
HSLhsl(296, 67%, 22%)
HSVhsv(296, 80%, 36%)
CMYKcmyk(5.4%, 80.4%, 0%, 63.9%)
CIE-LABlab(20.95, 40.68, -27.79)
CIE-LCHlch(20.95, 49.27, 325.66°)
OKLaboklab(33.64% 0.1107 -0.0774)
OKLCHoklch(33.64% 0.135 325)
XYZxyz(6.0784, 3.2320, 10.4268)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57125C #175C12
analogous
#32125C #57125C #5C123C
triadic
#57125C #5C5712 #125C57
tetradic
#57125C #5C3212 #175C12 #123C5C
square
#57125C #5C3212 #175C12 #123C5C
split-complementary
#57125C #3C5C12 #125C32
monochromatic
#18051A #270829 #57125C #871C8F #B826C2

Accessibility & contrast

On white

12.76
#57125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#57125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57125C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57125C#FFFFFF#000000##FFFFFF
##57125C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#591F36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57125c;
/* rgb */ color: rgb(87, 18, 92);
/* oklch */ color: oklch(33.6% 0.135 325.0);
Tailwind
colors: {
  custom: {
    50: '#89598a',
    500: '#57125c',
    950: '#000000',
  },
}
SCSS
$custom: #57125c;
$custom-light: #89598a;
$custom-dark: #000000;
JSON
{
  "hex": "#57125c",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 295.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33635,
    "c": 0.1351,
    "h": 325
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#57125C
secondary
#3C9435
accent
#EA3E49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57125C

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

Preview Lab → · Contrast checker → · Palette generator →

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