#57276A#57276A

#57276A is a dark, moderate purple. Relative luminance 0.045; OKLCH L 37.1% C 0.119 H 315.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#57276A
RGBrgb(87, 39, 106)
HSLhsl(283, 46%, 28%)
HSVhsv(283, 63%, 42%)
CMYKcmyk(17.9%, 63.2%, 0%, 58.4%)
CIE-LABlab(25.32, 34.04, -30.01)
CIE-LCHlch(25.32, 45.37, 318.60°)
OKLaboklab(37.07% 0.0847 -0.084)
OKLCHoklch(37.07% 0.119 315.2)
XYZxyz(7.2571, 4.5181, 14.1227)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57276A #3A6A27
analogous
#35276A #57276A #6A275B
triadic
#57276A #6A5727 #276A57
tetradic
#57276A #6A3527 #3A6A27 #275B6A
square
#57276A #6A3527 #3A6A27 #275B6A
split-complementary
#57276A #5B6A27 #276A35
monochromatic
#120816 #32173D #57276A #7C3797 #9E4EBE

Accessibility & contrast

On white

11.03
#57276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#57276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57276A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57276A#FFFFFF#000000##FFFFFF
##57276A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13396C
Deuteranopia (green-blind)
#263D68
Tritanopia (blue-blind)
#563344
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57276a;
/* rgb */ color: rgb(87, 39, 106);
/* oklch */ color: oklch(37.1% 0.119 315.2);
Tailwind
colors: {
  custom: {
    50: '#896495',
    500: '#57276a',
    950: '#000000',
  },
}
SCSS
$custom: #57276a;
$custom-light: #896495;
$custom-dark: #000000;
JSON
{
  "hex": "#57276a",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 282.985,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.11934,
    "h": 315.2
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#57276A
secondary
#669D50
accent
#D65277
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #57276A

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

Preview Lab → · Contrast checker → · Palette generator →

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