#57186D#57186D

#57186D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.144 H 315.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#57186D
RGBrgb(87, 24, 109)
HSLhsl(284, 64%, 26%)
HSVhsv(284, 78%, 43%)
CMYKcmyk(20.2%, 78%, 0%, 57.3%)
CIE-LABlab(22.94, 41.89, -35.75)
CIE-LCHlch(22.94, 55.07, 319.52°)
OKLaboklab(35.43% 0.1029 -0.1008)
OKLCHoklch(35.43% 0.144 315.6)
XYZxyz(7.0170, 3.7839, 14.8258)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57186D #2E6D18
analogous
#2C186D #57186D #6D1858
triadic
#57186D #6D5718 #186D57
tetradic
#57186D #6D2C18 #2E6D18 #18586D
square
#57186D #6D2C18 #2E6D18 #18586D
split-complementary
#57186D #586D18 #186D2C
monochromatic
#140619 #2F0D3B #57186D #7F239F #A72ED1

Accessibility & contrast

On white

11.95
#57186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#57186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57186D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57186D#FFFFFF#000000##FFFFFF
##57186D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#16386B
Tritanopia (blue-blind)
#552A41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57186d;
/* rgb */ color: rgb(87, 24, 109);
/* oklch */ color: oklch(35.4% 0.144 315.6);
Tailwind
colors: {
  custom: {
    50: '#8a5c97',
    500: '#57186d',
    950: '#000000',
  },
}
SCSS
$custom: #57186d;
$custom-light: #8a5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#57186d",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 284.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35433,
    "c": 0.14402,
    "h": 315.6
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#57186D
secondary
#58A33E
accent
#E7416C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57186D

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

Preview Lab → · Contrast checker → · Palette generator →

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