#57186E#57186E

#57186E is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.145 H 315.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#57186E
RGBrgb(87, 24, 110)
HSLhsl(284, 64%, 26%)
HSVhsv(284, 78%, 43%)
CMYKcmyk(20.9%, 78.2%, 0%, 56.9%)
CIE-LABlab(23.02, 42.11, -36.28)
CIE-LCHlch(23.02, 55.58, 319.26°)
OKLaboklab(35.51% 0.1028 -0.1023)
OKLCHoklch(35.51% 0.145 315.1)
XYZxyz(7.0711, 3.8056, 15.1109)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57186E #2F6E18
analogous
#2C186E #57186E #6E185A
triadic
#57186E #6E5718 #186E57
tetradic
#57186E #6E2C18 #2F6E18 #185A6E
square
#57186E #6E2C18 #2F6E18 #185A6E
split-complementary
#57186E #5A6E18 #186E2C
monochromatic
#140519 #2F0D3C #57186E #7F23A0 #A62FD2

Accessibility & contrast

On white

11.93
#57186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57186E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57186E#FFFFFF#000000##FFFFFF
##57186E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#15396C
Tritanopia (blue-blind)
#552B42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57186e;
/* rgb */ color: rgb(87, 24, 110);
/* oklch */ color: oklch(35.5% 0.145 315.1);
Tailwind
colors: {
  custom: {
    50: '#8a5c98',
    500: '#57186e',
    950: '#000000',
  },
}
SCSS
$custom: #57186e;
$custom-light: #8a5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#57186e",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 283.953,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35509,
    "c": 0.14501,
    "h": 315.1
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#57186E
secondary
#59A43E
accent
#E7416D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57186E

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

Preview Lab → · Contrast checker → · Palette generator →

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