#57155A#57155A

#57155A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.130 H 326.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#57155A
RGBrgb(87, 21, 90)
HSLhsl(297, 62%, 22%)
HSVhsv(297, 77%, 35%)
CMYKcmyk(3.3%, 76.7%, 0%, 64.7%)
CIE-LABlab(21.21, 39.18, -26.05)
CIE-LCHlch(21.21, 47.04, 326.38°)
OKLaboklab(33.78% 0.1077 -0.0723)
OKLCHoklch(33.78% 0.13 326.1)
XYZxyz(6.0440, 3.3012, 9.9897)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57155A #185A15
analogous
#35155A #57155A #5A153B
triadic
#57155A #5A5715 #155A57
tetradic
#57155A #5A3515 #185A15 #153B5A
square
#57155A #5A3515 #185A15 #153B5A
split-complementary
#57155A #3B5A15 #155A35
monochromatic
#180619 #270928 #57155A #87218C #B72CBD

Accessibility & contrast

On white

12.65
#57155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#57155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57155A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57155A#FFFFFF#000000##FFFFFF
##57155A1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052E5C
Deuteranopia (green-blind)
#253658
Tritanopia (blue-blind)
#592036
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57155a;
/* rgb */ color: rgb(87, 21, 90);
/* oklch */ color: oklch(33.8% 0.130 326.1);
Tailwind
colors: {
  custom: {
    50: '#895a89',
    500: '#57155a',
    950: '#000000',
  },
}
SCSS
$custom: #57155a;
$custom-light: #895a89;
$custom-dark: #000000;
JSON
{
  "hex": "#57155a",
  "rgb": {
    "r": 87,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 297.391,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.12972,
    "h": 326.1
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#57155A
secondary
#3D9239
accent
#E5434A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57155A

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

Preview Lab → · Contrast checker → · Palette generator →

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