#57285C#57285C

#57285C is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.3% C 0.102 H 323.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#57285C
RGBrgb(87, 40, 92)
HSLhsl(294, 39%, 26%)
HSVhsv(294, 57%, 36%)
CMYKcmyk(5.4%, 56.5%, 0%, 63.9%)
CIE-LABlab(24.69, 30.33, -21.87)
CIE-LCHlch(24.69, 37.39, 324.21°)
OKLaboklab(36.35% 0.0821 -0.0604)
OKLCHoklch(36.35% 0.102 323.7)
XYZxyz(6.6209, 4.3169, 10.6076)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57285C #2D5C28
analogous
#3D285C #57285C #5C2847
triadic
#57285C #5C5728 #285C57
tetradic
#57285C #5C3D28 #2D5C28 #28475C
square
#57285C #5C3D28 #2D5C28 #28475C
split-complementary
#57285C #475C28 #285C3D
monochromatic
#140915 #2F1531 #57285C #7F3B87 #A84DB1

Accessibility & contrast

On white

11.27
#57285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#57285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57285C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57285C#FFFFFF#000000##FFFFFF
##57285C1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375E
Deuteranopia (green-blind)
#2F3D5B
Tritanopia (blue-blind)
#592F3E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57285c;
/* rgb */ color: rgb(87, 40, 92);
/* oklch */ color: oklch(36.3% 0.102 323.7);
Tailwind
colors: {
  custom: {
    50: '#88648a',
    500: '#57285c',
    950: '#000000',
  },
}
SCSS
$custom: #57285c;
$custom-light: #88648a;
$custom-dark: #000000;
JSON
{
  "hex": "#57285c",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 294.231,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36346,
    "c": 0.10195,
    "h": 323.7
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#57285C
secondary
#578F51
accent
#CF5964
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #57285C

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

Preview Lab → · Contrast checker → · Palette generator →

#57285C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva