#571B67#571B67

#571B67 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.134 H 318.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#571B67
RGBrgb(87, 27, 103)
HSLhsl(287, 58%, 25%)
HSVhsv(287, 74%, 40%)
CMYKcmyk(15.5%, 73.8%, 0%, 59.6%)
CIE-LABlab(22.96, 39.32, -31.82)
CIE-LCHlch(22.96, 50.58, 321.02°)
OKLaboklab(35.31% 0.1003 -0.0892)
OKLCHoklch(35.31% 0.134 318.3)
XYZxyz(6.7703, 3.7897, 13.2042)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B67 #2B671B
analogous
#311B67 #571B67 #671B51
triadic
#571B67 #67571B #1B6757
tetradic
#571B67 #67311B #2B671B #1B5167
square
#571B67 #67311B #2B671B #1B5167
split-complementary
#571B67 #51671B #1B6731
monochromatic
#140618 #2E0E37 #571B67 #802897 #A934C8

Accessibility & contrast

On white

11.95
#571B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#571B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B67
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B67#FFFFFF#000000##FFFFFF
##571B671.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#572A3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #571b67;
/* rgb */ color: rgb(87, 27, 103);
/* oklch */ color: oklch(35.3% 0.134 318.3);
Tailwind
colors: {
  custom: {
    50: '#895d93',
    500: '#571b67',
    950: '#000000',
  },
}
SCSS
$custom: #571b67;
$custom-light: #895d93;
$custom-dark: #000000;
JSON
{
  "hex": "#571b67",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 287.368,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.13425,
    "h": 318.3
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#571B67
secondary
#559C42
accent
#E24667
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571B67

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

Preview Lab → · Contrast checker → · Palette generator →

#571B67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva