#57216E#57216E

#57216E is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.133 H 314.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#57216E
RGBrgb(87, 33, 110)
HSLhsl(282, 54%, 28%)
HSVhsv(282, 70%, 43%)
CMYKcmyk(20.9%, 70%, 0%, 56.9%)
CIE-LABlab(24.45, 38.07, -33.97)
CIE-LCHlch(24.45, 51.02, 318.26°)
OKLaboklab(36.53% 0.0926 -0.0956)
OKLCHoklch(36.53% 0.133 314.1)
XYZxyz(7.2883, 4.2400, 15.1833)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57216E #386E21
analogous
#30216E #57216E #6E215E
triadic
#57216E #6E5721 #216E57
tetradic
#57216E #6E3021 #386E21 #215E6E
square
#57216E #6E3021 #386E21 #215E6E
split-complementary
#57216E #5E6E21 #216E30
monochromatic
#130718 #32133F #57216E #7C2F9D #9F43C7

Accessibility & contrast

On white

11.36
#57216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#57216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57216E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57216E#FFFFFF#000000##FFFFFF
##57216E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#1D3B6C
Tritanopia (blue-blind)
#553044
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #57216e;
/* rgb */ color: rgb(87, 33, 110);
/* oklch */ color: oklch(36.5% 0.133 314.1);
Tailwind
colors: {
  custom: {
    50: '#896198',
    500: '#57216e',
    950: '#000000',
  },
}
SCSS
$custom: #57216e;
$custom-light: #896198;
$custom-dark: #000000;
JSON
{
  "hex": "#57216e",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 282.078,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3653,
    "c": 0.13309,
    "h": 314.1
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#57216E
secondary
#64A249
accent
#DD4B76
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #57216E

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

Preview Lab → · Contrast checker → · Palette generator →

#57216E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva