#57185C#57185C

#57185C is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.128 H 324.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#57185C
RGBrgb(87, 24, 92)
HSLhsl(296, 59%, 23%)
HSVhsv(296, 74%, 36%)
CMYKcmyk(5.4%, 73.9%, 0%, 63.9%)
CIE-LABlab(21.77, 38.34, -26.48)
CIE-LCHlch(21.77, 46.60, 325.36°)
OKLaboklab(34.22% 0.1042 -0.0736)
OKLCHoklch(34.22% 0.128 324.8)
XYZxyz(6.1887, 3.4526, 10.4636)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57185C #1D5C18
analogous
#35185C #57185C #5C183F
triadic
#57185C #5C5718 #185C57
tetradic
#57185C #5C3518 #1D5C18 #183F5C
square
#57185C #5C3518 #1D5C18 #183F5C
split-complementary
#57185C #3F5C18 #185C35
monochromatic
#170618 #290B2B #57185C #85258D #B331BD

Accessibility & contrast

On white

12.42
#57185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#57185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57185C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57185C#FFFFFF#000000##FFFFFF
##57185C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#25375A
Tritanopia (blue-blind)
#592338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57185c;
/* rgb */ color: rgb(87, 24, 92);
/* oklch */ color: oklch(34.2% 0.128 324.8);
Tailwind
colors: {
  custom: {
    50: '#895b8a',
    500: '#57185c',
    950: '#000000',
  },
}
SCSS
$custom: #57185c;
$custom-light: #895b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57185c",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 295.588,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.12763,
    "h": 324.8
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#57185C
secondary
#44933D
accent
#E24651
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57185C

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

Preview Lab → · Contrast checker → · Palette generator →

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