#57256E#57256E

#57256E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.1% C 0.127 H 313.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#57256E
RGBrgb(87, 37, 110)
HSLhsl(281, 50%, 29%)
HSVhsv(281, 66%, 43%)
CMYKcmyk(20.9%, 66.4%, 0%, 56.9%)
CIE-LABlab(25.18, 36.04, -32.79)
CIE-LCHlch(25.18, 48.73, 317.70°)
OKLaboklab(37.06% 0.0875 -0.0922)
OKLCHoklch(37.06% 0.127 313.5)
XYZxyz(7.4060, 4.4754, 15.2225)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57256E #3C6E25
analogous
#33256E #57256E #6E2561
triadic
#57256E #6E5725 #256E57
tetradic
#57256E #6E3325 #3C6E25 #25616E
square
#57256E #6E3325 #3C6E25 #25616E
split-complementary
#57256E #616E25 #256E33
monochromatic
#120817 #331640 #57256E #7B349C #9D4BC2

Accessibility & contrast

On white

11.08
#57256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#57256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57256E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57256E#FFFFFF#000000##FFFFFF
##57256E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073970
Deuteranopia (green-blind)
#213D6C
Tritanopia (blue-blind)
#553346
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57256e;
/* rgb */ color: rgb(87, 37, 110);
/* oklch */ color: oklch(37.1% 0.127 313.5);
Tailwind
colors: {
  custom: {
    50: '#896398',
    500: '#57256e',
    950: '#000000',
  },
}
SCSS
$custom: #57256e;
$custom-light: #896398;
$custom-dark: #000000;
JSON
{
  "hex": "#57256e",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 281.096,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.12706,
    "h": 313.5
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#57256E
secondary
#68A14E
accent
#D94F7A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #57256E

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

Preview Lab → · Contrast checker → · Palette generator →

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