#57155F#57155F

#57155F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.134 H 323.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#57155F
RGBrgb(87, 21, 95)
HSLhsl(294, 64%, 23%)
HSVhsv(294, 78%, 37%)
CMYKcmyk(8.4%, 77.9%, 0%, 62.7%)
CIE-LABlab(21.54, 40.16, -28.84)
CIE-LCHlch(21.54, 49.44, 324.31°)
OKLaboklab(34.12% 0.1075 -0.0805)
OKLCHoklch(34.12% 0.134 323.2)
XYZxyz(6.2640, 3.3892, 11.1485)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57155F #1D5F15
analogous
#32155F #57155F #5F1542
triadic
#57155F #5F5715 #155F57
tetradic
#57155F #5F3215 #1D5F15 #15425F
square
#57155F #5F3215 #1D5F15 #15425F
split-complementary
#57155F #425F15 #155F32
monochromatic
#170619 #290A2D #57155F #852091 #B32BC3

Accessibility & contrast

On white

12.52
#57155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#57155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57155F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57155F#FFFFFF#000000##FFFFFF
##57155F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#582239
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57155f;
/* rgb */ color: rgb(87, 21, 95);
/* oklch */ color: oklch(34.1% 0.134 323.2);
Tailwind
colors: {
  custom: {
    50: '#895a8d',
    500: '#57155f',
    950: '#000000',
  },
}
SCSS
$custom: #57155f;
$custom-light: #895a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#57155f",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 293.514,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34119,
    "c": 0.13429,
    "h": 323.2
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#57155F
secondary
#44963A
accent
#E74153
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57155F

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

Preview Lab → · Contrast checker → · Palette generator →

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