#57215F#57215F

#57215F is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.5% C 0.117 H 322.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#57215F
RGBrgb(87, 33, 95)
HSLhsl(292, 48%, 25%)
HSVhsv(292, 65%, 37%)
CMYKcmyk(8.4%, 65.3%, 0%, 62.7%)
CIE-LABlab(23.47, 34.74, -25.76)
CIE-LCHlch(23.47, 43.25, 323.44°)
OKLaboklab(35.51% 0.0927 -0.0716)
OKLCHoklch(35.51% 0.117 322.3)
XYZxyz(6.5397, 3.9405, 11.2404)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57215F #295F21
analogous
#38215F #57215F #5F2148
triadic
#57215F #5F5721 #215F57
tetradic
#57215F #5F3821 #295F21 #21485F
square
#57215F #5F3821 #295F21 #21485F
split-complementary
#57215F #485F21 #215F38
monochromatic
#150817 #2D1132 #57215F #81318C #AA41BA

Accessibility & contrast

On white

11.74
#57215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#57215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57215F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57215F#FFFFFF#000000##FFFFFF
##57215F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143461
Deuteranopia (green-blind)
#293A5D
Tritanopia (blue-blind)
#582A3C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57215f;
/* rgb */ color: rgb(87, 33, 95);
/* oklch */ color: oklch(35.5% 0.117 322.3);
Tailwind
colors: {
  custom: {
    50: '#88608d',
    500: '#57215f',
    950: '#000000',
  },
}
SCSS
$custom: #57215f;
$custom-light: #88608d;
$custom-dark: #000000;
JSON
{
  "hex": "#57215f",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 292.258,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.11717,
    "h": 322.3
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#57215F
secondary
#529349
accent
#D85061
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #57215F

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

Preview Lab → · Contrast checker → · Palette generator →

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