#57108D#57108D

#57108D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.182 H 303.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#57108D
RGBrgb(87, 16, 141)
HSLhsl(274, 80%, 31%)
HSVhsv(274, 89%, 55%)
CMYKcmyk(38.3%, 88.7%, 0%, 44.7%)
CIE-LABlab(24.70, 51.80, -53.20)
CIE-LCHlch(24.70, 74.25, 314.24°)
OKLaboklab(37.5% 0.1007 -0.1519)
OKLCHoklch(37.5% 0.182 303.5)
XYZxyz(8.9224, 4.3199, 25.5579)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57108D #468D10
analogous
#18108D #57108D #8D1084
triadic
#57108D #8D5710 #108D57
tetradic
#57108D #8D1810 #468D10 #10848D
square
#57108D #8D1810 #468D10 #10848D
split-complementary
#57108D #848D10 #108D18
monochromatic
#13041F #350A56 #57108D #7916C4 #9830E7

Accessibility & contrast

On white

11.27
#57108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#57108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57108D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57108D#FFFFFF#000000##FFFFFF
##57108D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#4C3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57108d;
/* rgb */ color: rgb(87, 16, 141);
/* oklch */ color: oklch(37.5% 0.182 303.5);
Tailwind
colors: {
  custom: {
    50: '#8d5baf',
    500: '#57108d',
    950: '#000000',
  },
}
SCSS
$custom: #57108d;
$custom-light: #8d5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#57108d",
  "rgb": {
    "r": 87,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 274.08,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37496,
    "c": 0.18225,
    "h": 303.5
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#57108D
secondary
#73C237
accent
#F63287
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #57108D

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

Preview Lab → · Contrast checker → · Palette generator →

#57108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva