#57255D#57255D

#57255D is a dark, moderate purple. Relative luminance 0.041; OKLCH L 36.0% C 0.108 H 323.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#57255D
RGBrgb(87, 37, 93)
HSLhsl(294, 43%, 25%)
HSVhsv(294, 60%, 36%)
CMYKcmyk(6.5%, 60.2%, 0%, 63.5%)
CIE-LABlab(24.13, 32.21, -23.41)
CIE-LCHlch(24.13, 39.82, 323.98°)
OKLaboklab(35.95% 0.0868 -0.0648)
OKLCHoklch(35.95% 0.108 323.2)
XYZxyz(6.5676, 4.1400, 10.8070)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57255D #2B5D25
analogous
#3B255D #57255D #5D2547
triadic
#57255D #5D5725 #255D57
tetradic
#57255D #5D3B25 #2B5D25 #25475D
square
#57255D #5D3B25 #2B5D25 #25475D
split-complementary
#57255D #475D25 #255D3B
monochromatic
#140916 #2E1431 #57255D #803689 #A948B5

Accessibility & contrast

On white

11.49
#57255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#57255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57255D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57255D#FFFFFF#000000##FFFFFF
##57255D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C365F
Deuteranopia (green-blind)
#2D3B5B
Tritanopia (blue-blind)
#582D3D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57255d;
/* rgb */ color: rgb(87, 37, 93);
/* oklch */ color: oklch(36.0% 0.108 323.2);
Tailwind
colors: {
  custom: {
    50: '#88628b',
    500: '#57255d',
    950: '#000000',
  },
}
SCSS
$custom: #57255d;
$custom-light: #88628b;
$custom-dark: #000000;
JSON
{
  "hex": "#57255d",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 293.571,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.10836,
    "h": 323.2
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#57255D
secondary
#55904D
accent
#D35562
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C050C
muted
#7D7A7D

Preview Lab

Preview with #57255D

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

Preview Lab → · Contrast checker → · Palette generator →

#57255D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva