#57185E#57185E

#57185E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.130 H 323.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#57185E
RGBrgb(87, 24, 94)
HSLhsl(294, 59%, 23%)
HSVhsv(294, 74%, 37%)
CMYKcmyk(7.4%, 74.5%, 0%, 63.1%)
CIE-LABlab(21.90, 38.74, -27.60)
CIE-LCHlch(21.90, 47.57, 324.53°)
OKLaboklab(34.36% 0.1042 -0.0769)
OKLCHoklch(34.36% 0.13 323.6)
XYZxyz(6.2773, 3.4880, 10.9301)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57185E #1F5E18
analogous
#34185E #57185E #5E1842
triadic
#57185E #5E5718 #185E57
tetradic
#57185E #5E3418 #1F5E18 #18425E
square
#57185E #5E3418 #1F5E18 #18425E
split-complementary
#57185E #425E18 #185E34
monochromatic
#170618 #2A0C2D #57185E #84248F #B131C0

Accessibility & contrast

On white

12.37
#57185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#57185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57185E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57185E#FFFFFF#000000##FFFFFF
##57185E1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043060
Deuteranopia (green-blind)
#24375C
Tritanopia (blue-blind)
#592439
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57185e;
/* rgb */ color: rgb(87, 24, 94);
/* oklch */ color: oklch(34.4% 0.130 323.6);
Tailwind
colors: {
  custom: {
    50: '#895c8c',
    500: '#57185e',
    950: '#000000',
  },
}
SCSS
$custom: #57185e;
$custom-light: #895c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#57185e",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 294,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34356,
    "c": 0.12952,
    "h": 323.6
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#57185E
secondary
#46943D
accent
#E34555
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57185E

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

Preview Lab → · Contrast checker → · Palette generator →

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