#57286A#57286A

#57286A is a dark, moderate purple. Relative luminance 0.046; OKLCH L 37.2% C 0.118 H 315.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#57286A
RGBrgb(87, 40, 106)
HSLhsl(283, 45%, 29%)
HSVhsv(283, 62%, 42%)
CMYKcmyk(17.9%, 62.3%, 0%, 58.4%)
CIE-LABlab(25.52, 33.49, -29.68)
CIE-LCHlch(25.52, 44.75, 318.45°)
OKLaboklab(37.22% 0.0833 -0.0831)
OKLCHoklch(37.22% 0.118 315.1)
XYZxyz(7.2904, 4.5847, 14.1338)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57286A #3B6A28
analogous
#36286A #57286A #6A285C
triadic
#57286A #6A5728 #286A57
tetradic
#57286A #6A3628 #3B6A28 #285C6A
square
#57286A #6A3628 #3B6A28 #285C6A
split-complementary
#57286A #5C6A28 #286A36
monochromatic
#120816 #33173E #57286A #7B3996 #9D50BD

Accessibility & contrast

On white

10.96
#57286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#57286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57286A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57286A#FFFFFF#000000##FFFFFF
##57286A1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#273E68
Tritanopia (blue-blind)
#563345
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57286a;
/* rgb */ color: rgb(87, 40, 106);
/* oklch */ color: oklch(37.2% 0.118 315.1);
Tailwind
colors: {
  custom: {
    50: '#886595',
    500: '#57286a',
    950: '#000000',
  },
}
SCSS
$custom: #57286a;
$custom-light: #886595;
$custom-dark: #000000;
JSON
{
  "hex": "#57286a",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 282.727,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37218,
    "c": 0.11768,
    "h": 315.1
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#57286A
secondary
#679D51
accent
#D55378
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #57286A

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

Preview Lab → · Contrast checker → · Palette generator →

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