#57125B#57125B

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

Color values

HEX#57125B
RGBrgb(87, 18, 91)
HSLhsl(297, 67%, 21%)
HSVhsv(297, 80%, 36%)
CMYKcmyk(4.4%, 80.2%, 0%, 64.3%)
CIE-LABlab(20.88, 40.49, -27.23)
CIE-LCHlch(20.88, 48.80, 326.07°)
OKLaboklab(33.57% 0.1108 -0.0758)
OKLCHoklch(33.57% 0.134 325.6)
XYZxyz(6.0350, 3.2146, 10.1981)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57125B #165B12
analogous
#33125B #57125B #5B123B
triadic
#57125B #5B5712 #125B57
tetradic
#57125B #5B3312 #165B12 #123B5B
square
#57125B #5B3312 #165B12 #123B5B
split-complementary
#57125B #3B5B12 #125B33
monochromatic
#18051A #260828 #57125B #881C8E #B926C1

Accessibility & contrast

On white

12.78
#57125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#57125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57125B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57125B#FFFFFF#000000##FFFFFF
##57125B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#591F36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57125b;
/* rgb */ color: rgb(87, 18, 91);
/* oklch */ color: oklch(33.6% 0.134 325.6);
Tailwind
colors: {
  custom: {
    50: '#89598a',
    500: '#57125b',
    950: '#000000',
  },
}
SCSS
$custom: #57125b;
$custom-light: #89598a;
$custom-dark: #000000;
JSON
{
  "hex": "#57125b",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 296.712,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.13422,
    "h": 325.6
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#57125B
secondary
#3A9335
accent
#EA3E47
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57125B

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

Preview Lab → · Contrast checker → · Palette generator →

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