#571277#571277

#571277 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.160 H 311.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#571277
RGBrgb(87, 18, 119)
HSLhsl(281, 74%, 27%)
HSVhsv(281, 85%, 47%)
CMYKcmyk(26.9%, 84.9%, 0%, 53.3%)
CIE-LABlab(22.97, 46.26, -42.15)
CIE-LCHlch(22.97, 62.58, 317.67°)
OKLaboklab(35.7% 0.1063 -0.1195)
OKLCHoklch(35.7% 0.16 311.7)
XYZxyz(7.4759, 3.7910, 17.7871)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571277 #327712
analogous
#251277 #571277 #771265
triadic
#571277 #775712 #127757
tetradic
#571277 #772512 #327712 #126577
square
#571277 #772512 #327712 #126577
split-complementary
#571277 #657712 #127725
monochromatic
#13041B #300A42 #571277 #7E1AAC #A425DE

Accessibility & contrast

On white

11.94
#571277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571277
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571277#FFFFFF#000000##FFFFFF
##5712771.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#532C46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571277;
/* rgb */ color: rgb(87, 18, 119);
/* oklch */ color: oklch(35.7% 0.160 311.7);
Tailwind
colors: {
  custom: {
    50: '#8b5a9f',
    500: '#571277',
    950: '#000000',
  },
}
SCSS
$custom: #571277;
$custom-light: #8b5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#571277",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 280.99,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35696,
    "c": 0.15993,
    "h": 311.7
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#571277
secondary
#5DAD37
accent
#F03772
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571277

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

Preview Lab → · Contrast checker → · Palette generator →

#571277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva