#571267#571267

#571267 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.145 H 319.1°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#571267
RGBrgb(87, 18, 103)
HSLhsl(289, 70%, 24%)
HSVhsv(289, 83%, 40%)
CMYKcmyk(15.5%, 82.5%, 0%, 59.6%)
CIE-LABlab(21.72, 42.87, -33.81)
CIE-LCHlch(21.72, 54.60, 321.73°)
OKLaboklab(34.43% 0.1096 -0.095)
OKLCHoklch(34.43% 0.145 319.1)
XYZxyz(6.5946, 3.4384, 13.1457)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571267 #226712
analogous
#2C1267 #571267 #67124C
triadic
#571267 #675712 #126757
tetradic
#571267 #672C12 #226712 #124C67
square
#571267 #672C12 #226712 #124C67
split-complementary
#571267 #4C6712 #12672C
monochromatic
#16051A #2B0933 #571267 #831B9B #AF24CF

Accessibility & contrast

On white

12.44
#571267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#571267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571267
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571267#FFFFFF#000000##FFFFFF
##5712671.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#57253C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571267;
/* rgb */ color: rgb(87, 18, 103);
/* oklch */ color: oklch(34.4% 0.145 319.1);
Tailwind
colors: {
  custom: {
    50: '#8a5993',
    500: '#571267',
    950: '#000000',
  },
}
SCSS
$custom: #571267;
$custom-light: #8a5993;
$custom-dark: #000000;
JSON
{
  "hex": "#571267",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 288.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.14505,
    "h": 319.1
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#571267
secondary
#4A9F36
accent
#ED3B5C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571267

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

Preview Lab → · Contrast checker → · Palette generator →

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