#57246A#57246A

#57246A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.6% C 0.124 H 315.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#57246A
RGBrgb(87, 36, 106)
HSLhsl(284, 49%, 28%)
HSVhsv(284, 66%, 42%)
CMYKcmyk(17.9%, 66%, 0%, 58.4%)
CIE-LABlab(24.73, 35.63, -30.94)
CIE-LCHlch(24.73, 47.19, 319.03°)
OKLaboklab(36.65% 0.0889 -0.0867)
OKLCHoklch(36.65% 0.124 315.7)
XYZxyz(7.1625, 4.3288, 14.0911)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57246A #376A24
analogous
#34246A #57246A #6A245A
triadic
#57246A #6A5724 #246A57
tetradic
#57246A #6A3424 #376A24 #245A6A
square
#57246A #6A3424 #376A24 #245A6A
split-complementary
#57246A #5A6A24 #246A34
monochromatic
#130817 #32143C #57246A #7C3498 #A048C1

Accessibility & contrast

On white

11.26
#57246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#57246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57246A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57246A#FFFFFF#000000##FFFFFF
##57246A1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386C
Deuteranopia (green-blind)
#243C68
Tritanopia (blue-blind)
#563143
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57246a;
/* rgb */ color: rgb(87, 36, 106);
/* oklch */ color: oklch(36.6% 0.124 315.7);
Tailwind
colors: {
  custom: {
    50: '#896295',
    500: '#57246a',
    950: '#000000',
  },
}
SCSS
$custom: #57246a;
$custom-light: #896295;
$custom-dark: #000000;
JSON
{
  "hex": "#57246a",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 283.714,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36646,
    "c": 0.12418,
    "h": 315.7
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#57246A
secondary
#629D4D
accent
#D94F74
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #57246A

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

Preview Lab → · Contrast checker → · Palette generator →

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