#57186F#57186F

#57186F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.146 H 314.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#57186F
RGBrgb(87, 24, 111)
HSLhsl(283, 64%, 26%)
HSVhsv(283, 78%, 44%)
CMYKcmyk(21.6%, 78.4%, 0%, 56.5%)
CIE-LABlab(23.09, 42.33, -36.80)
CIE-LCHlch(23.09, 56.09, 319.00°)
OKLaboklab(35.59% 0.1026 -0.1038)
OKLCHoklch(35.59% 0.146 314.7)
XYZxyz(7.1259, 3.8275, 15.3993)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57186F #306F18
analogous
#2C186F #57186F #6F185C
triadic
#57186F #6F5718 #186F57
tetradic
#57186F #6F2C18 #306F18 #185C6F
square
#57186F #6F2C18 #306F18 #185C6F
split-complementary
#57186F #5C6F18 #186F2C
monochromatic
#140519 #300D3D #57186F #7E23A1 #A52FD2

Accessibility & contrast

On white

11.90
#57186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#57186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57186F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57186F#FFFFFF#000000##FFFFFF
##57186F1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#13396D
Tritanopia (blue-blind)
#552B42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57186f;
/* rgb */ color: rgb(87, 24, 111);
/* oklch */ color: oklch(35.6% 0.146 314.7);
Tailwind
colors: {
  custom: {
    50: '#8a5c99',
    500: '#57186f',
    950: '#000000',
  },
}
SCSS
$custom: #57186f;
$custom-light: #8a5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#57186f",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 283.448,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35586,
    "c": 0.146,
    "h": 314.7
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#57186F
secondary
#5AA53E
accent
#E7406E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57186F

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

Preview Lab → · Contrast checker → · Palette generator →

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