#57215B#57215B

#57215B is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.3% C 0.113 H 324.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#57215B
RGBrgb(87, 33, 91)
HSLhsl(296, 47%, 24%)
HSVhsv(296, 64%, 36%)
CMYKcmyk(4.4%, 63.7%, 0%, 64.3%)
CIE-LABlab(23.24, 33.90, -23.50)
CIE-LCHlch(23.24, 41.25, 325.27°)
OKLaboklab(35.26% 0.0925 -0.0651)
OKLCHoklch(35.26% 0.113 324.9)
XYZxyz(6.3625, 3.8696, 10.3073)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57215B #255B21
analogous
#3A215B #57215B #5B2142
triadic
#57215B #5B5721 #215B57
tetradic
#57215B #5B3A21 #255B21 #21425B
square
#57215B #5B3A21 #255B21 #21425B
split-complementary
#57215B #425B21 #215B3A
monochromatic
#150816 #2C112E #57215B #823188 #AD42B5

Accessibility & contrast

On white

11.84
#57215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57215B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57215B#FFFFFF#000000##FFFFFF
##57215B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18335D
Deuteranopia (green-blind)
#2B3A59
Tritanopia (blue-blind)
#59293A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57215b;
/* rgb */ color: rgb(87, 33, 91);
/* oklch */ color: oklch(35.3% 0.113 324.9);
Tailwind
colors: {
  custom: {
    50: '#886089',
    500: '#57215b',
    950: '#000000',
  },
}
SCSS
$custom: #57215b;
$custom-light: #886089;
$custom-dark: #000000;
JSON
{
  "hex": "#57215b",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 295.862,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35261,
    "c": 0.11307,
    "h": 324.9
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#57215B
secondary
#4D8F49
accent
#D6515B
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #57215B

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

Preview Lab → · Contrast checker → · Palette generator →

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