#6F1571#6F1571

#6F1571 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.161 H 327.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#6F1571
RGBrgb(111, 21, 113)
HSLhsl(299, 69%, 26%)
HSVhsv(299, 81%, 44%)
CMYKcmyk(1.8%, 81.4%, 0%, 55.7%)
CIE-LABlab(27.04, 48.96, -31.52)
CIE-LCHlch(27.04, 58.23, 327.23°)
OKLaboklab(39.25% 0.1356 -0.0876)
OKLCHoklch(39.25% 0.161 327.1)
XYZxyz(9.8042, 5.1088, 16.0893)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1571 #177115
analogous
#411571 #6F1571 #711545
triadic
#6F1571 #716F15 #15716F
tetradic
#6F1571 #714115 #177115 #154571
square
#6F1571 #714115 #177115 #154571
split-complementary
#6F1571 #457115 #157141
monochromatic
#19051A #3C0B3D #6F1571 #A21FA5 #D329D7

Accessibility & contrast

On white

10.39
#6F1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6F1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1571
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1571#FFFFFF#000000##FFFFFF
##6F15711.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#2E446F
Tritanopia (blue-blind)
#722543
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1571;
/* rgb */ color: rgb(111, 21, 113);
/* oklch */ color: oklch(39.3% 0.161 327.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f9a',
    500: '#6f1571',
    950: '#000000',
  },
}
SCSS
$custom: #6f1571;
$custom-light: #9c5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1571",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 298.696,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.16145,
    "h": 327.1
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#6F1571
secondary
#3DA73B
accent
#EB3C40
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1571

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

Preview Lab → · Contrast checker → · Palette generator →

#6F1571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva