#571273#571273

#571273 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.156 H 313.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#571273
RGBrgb(87, 18, 115)
HSLhsl(283, 73%, 26%)
HSVhsv(283, 84%, 45%)
CMYKcmyk(24.3%, 84.3%, 0%, 54.9%)
CIE-LABlab(22.64, 45.39, -40.11)
CIE-LCHlch(22.64, 60.57, 318.54°)
OKLaboklab(35.37% 0.1073 -0.1135)
OKLCHoklch(35.37% 0.156 313.4)
XYZxyz(7.2407, 3.6969, 16.5485)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571273 #2E7312
analogous
#261273 #571273 #73125E
triadic
#571273 #735712 #127357
tetradic
#571273 #732612 #2E7312 #125E73
square
#571273 #732612 #2E7312 #125E73
split-complementary
#571273 #5E7312 #127326
monochromatic
#14041A #2F0A3E #571273 #7F1AA8 #A723DD

Accessibility & contrast

On white

12.07
#571273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#571273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571273
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571273#FFFFFF#000000##FFFFFF
##5712731.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#043871
Tritanopia (blue-blind)
#542A43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571273;
/* rgb */ color: rgb(87, 18, 115);
/* oklch */ color: oklch(35.4% 0.156 313.4);
Tailwind
colors: {
  custom: {
    50: '#8a5a9c',
    500: '#571273',
    950: '#000000',
  },
}
SCSS
$custom: #571273;
$custom-light: #8a5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#571273",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 282.68,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.15618,
    "h": 313.4
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#571273
secondary
#58AA37
accent
#F0386D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571273

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

Preview Lab → · Contrast checker → · Palette generator →

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