#57125A#57125A

#57125A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.133 H 326.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#57125A
RGBrgb(87, 18, 90)
HSLhsl(298, 67%, 21%)
HSVhsv(298, 80%, 35%)
CMYKcmyk(3.3%, 80%, 0%, 64.7%)
CIE-LABlab(20.82, 40.30, -26.67)
CIE-LCHlch(20.82, 48.33, 326.50°)
OKLaboklab(33.5% 0.1108 -0.0741)
OKLCHoklch(33.5% 0.133 326.2)
XYZxyz(5.9921, 3.1974, 9.9724)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57125A #155A12
analogous
#33125A #57125A #5A1239
triadic
#57125A #5A5712 #125A57
tetradic
#57125A #5A3312 #155A12 #12395A
square
#57125A #5A3312 #155A12 #12395A
split-complementary
#57125A #395A12 #125A33
monochromatic
#19051A #260827 #57125A #881C8D #BA26C0

Accessibility & contrast

On white

12.81
#57125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57125A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57125A#FFFFFF#000000##FFFFFF
##57125A1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5C
Deuteranopia (green-blind)
#233558
Tritanopia (blue-blind)
#591E35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57125a;
/* rgb */ color: rgb(87, 18, 90);
/* oklch */ color: oklch(33.5% 0.133 326.2);
Tailwind
colors: {
  custom: {
    50: '#895989',
    500: '#57125a',
    950: '#000000',
  },
}
SCSS
$custom: #57125a;
$custom-light: #895989;
$custom-dark: #000000;
JSON
{
  "hex": "#57125a",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 297.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33498,
    "c": 0.13333,
    "h": 326.2
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#57125A
secondary
#399335
accent
#EA3E45
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57125A

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

Preview Lab → · Contrast checker → · Palette generator →

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