#57256A#57256A

#57256A is a dark, vivid purple. Relative luminance 0.044; OKLCH L 36.8% C 0.123 H 315.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#57256A
RGBrgb(87, 37, 106)
HSLhsl(283, 48%, 28%)
HSVhsv(283, 65%, 42%)
CMYKcmyk(17.9%, 65.1%, 0%, 58.4%)
CIE-LABlab(24.92, 35.11, -30.63)
CIE-LCHlch(24.92, 46.59, 318.89°)
OKLaboklab(36.79% 0.0875 -0.0859)
OKLCHoklch(36.79% 0.123 315.5)
XYZxyz(7.1932, 4.3902, 14.1014)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57256A #386A25
analogous
#34256A #57256A #6A255A
triadic
#57256A #6A5725 #256A57
tetradic
#57256A #6A3425 #386A25 #255A6A
square
#57256A #6A3425 #386A25 #255A6A
split-complementary
#57256A #5A6A25 #256A34
monochromatic
#130817 #32153D #57256A #7C3597 #9F4AC0

Accessibility & contrast

On white

11.18
#57256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#57256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57256A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57256A#FFFFFF#000000##FFFFFF
##57256A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#253D68
Tritanopia (blue-blind)
#563144
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57256a;
/* rgb */ color: rgb(87, 37, 106);
/* oklch */ color: oklch(36.8% 0.123 315.5);
Tailwind
colors: {
  custom: {
    50: '#896395',
    500: '#57256a',
    950: '#000000',
  },
}
SCSS
$custom: #57256a;
$custom-light: #896395;
$custom-dark: #000000;
JSON
{
  "hex": "#57256a",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 283.478,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36785,
    "c": 0.12259,
    "h": 315.5
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#57256A
secondary
#649D4E
accent
#D85075
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #57256A

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

Preview Lab → · Contrast checker → · Palette generator →

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