#57215A#57215A

#57215A is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.112 H 325.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#57215A
RGBrgb(87, 33, 90)
HSLhsl(297, 46%, 24%)
HSVhsv(297, 63%, 35%)
CMYKcmyk(3.3%, 63.3%, 0%, 64.7%)
CIE-LABlab(23.18, 33.69, -22.93)
CIE-LCHlch(23.18, 40.76, 325.76°)
OKLaboklab(35.2% 0.0924 -0.0634)
OKLCHoklch(35.2% 0.112 325.5)
XYZxyz(6.3197, 3.8525, 10.0816)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57215A #245A21
analogous
#3B215A #57215A #5A2141
triadic
#57215A #5A5721 #215A57
tetradic
#57215A #5A3B21 #245A21 #21415A
square
#57215A #5A3B21 #245A21 #21415A
split-complementary
#57215A #415A21 #215A3B
monochromatic
#160816 #2C112D #57215A #823187 #AE42B4

Accessibility & contrast

On white

11.86
#57215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#57215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57215A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57215A#FFFFFF#000000##FFFFFF
##57215A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335C
Deuteranopia (green-blind)
#2C3A58
Tritanopia (blue-blind)
#59293A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57215a;
/* rgb */ color: rgb(87, 33, 90);
/* oklch */ color: oklch(35.2% 0.112 325.5);
Tailwind
colors: {
  custom: {
    50: '#886089',
    500: '#57215a',
    950: '#000000',
  },
}
SCSS
$custom: #57215a;
$custom-light: #886089;
$custom-dark: #000000;
JSON
{
  "hex": "#57215a",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 296.842,
    "s": 46.341,
    "l": 24.118
  },
  "oklch": {
    "l": 0.352,
    "c": 0.11205,
    "h": 325.5
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#57215A
secondary
#4C8E49
accent
#D65259
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #57215A

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

Preview Lab → · Contrast checker → · Palette generator →

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