#571275#571275

#571275 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.158 H 312.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#571275
RGBrgb(87, 18, 117)
HSLhsl(282, 73%, 26%)
HSVhsv(282, 85%, 46%)
CMYKcmyk(25.6%, 84.6%, 0%, 54.1%)
CIE-LABlab(22.80, 45.83, -41.13)
CIE-LCHlch(22.80, 61.58, 318.09°)
OKLaboklab(35.53% 0.1068 -0.1165)
OKLCHoklch(35.53% 0.158 312.5)
XYZxyz(7.3571, 3.7434, 17.1612)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571275 #307512
analogous
#261275 #571275 #751262
triadic
#571275 #755712 #127557
tetradic
#571275 #752612 #307512 #126275
square
#571275 #752612 #307512 #126275
split-complementary
#571275 #627512 #127526
monochromatic
#14041B #300A40 #571275 #7E1AAA #A524DD

Accessibility & contrast

On white

12.01
#571275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#571275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571275
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571275#FFFFFF#000000##FFFFFF
##5712751.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#532B45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #571275;
/* rgb */ color: rgb(87, 18, 117);
/* oklch */ color: oklch(35.5% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#8a5a9d',
    500: '#571275',
    950: '#000000',
  },
}
SCSS
$custom: #571275;
$custom-light: #8a5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#571275",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 281.818,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.15805,
    "h": 312.5
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#571275
secondary
#5AAC37
accent
#F03870
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #571275

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

Preview Lab → · Contrast checker → · Palette generator →

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