#571260#571260

#571260 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.139 H 322.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#571260
RGBrgb(87, 18, 96)
HSLhsl(293, 68%, 22%)
HSVhsv(293, 81%, 38%)
CMYKcmyk(9.4%, 81.3%, 0%, 62.4%)
CIE-LABlab(21.22, 41.46, -30.01)
CIE-LCHlch(21.22, 51.18, 324.10°)
OKLaboklab(33.92% 0.1104 -0.0839)
OKLCHoklch(33.92% 0.139 322.8)
XYZxyz(6.2579, 3.3038, 11.3721)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571260 #1B6012
analogous
#301260 #571260 #601242
triadic
#571260 #605712 #126057
tetradic
#571260 #603012 #1B6012 #124260
square
#571260 #603012 #1B6012 #124260
split-complementary
#571260 #426012 #126030
monochromatic
#17051A #28082C #571260 #861C94 #B425C7

Accessibility & contrast

On white

12.65
#571260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#571260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571260
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571260#FFFFFF#000000##FFFFFF
##5712601.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#582138
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #571260;
/* rgb */ color: rgb(87, 18, 96);
/* oklch */ color: oklch(33.9% 0.139 322.8);
Tailwind
colors: {
  custom: {
    50: '#89598d',
    500: '#571260',
    950: '#000000',
  },
}
SCSS
$custom: #571260;
$custom-light: #89598d;
$custom-dark: #000000;
JSON
{
  "hex": "#571260",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 293.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33915,
    "c": 0.13868,
    "h": 322.8
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#571260
secondary
#419836
accent
#EB3D51
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #571260

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

Preview Lab → · Contrast checker → · Palette generator →

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