#6F1471#6F1471

#6F1471 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.162 H 327.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#6F1471
RGBrgb(111, 20, 113)
HSLhsl(299, 70%, 26%)
HSVhsv(299, 82%, 44%)
CMYKcmyk(1.8%, 82.3%, 0%, 55.7%)
CIE-LABlab(26.94, 49.26, -31.69)
CIE-LCHlch(26.94, 58.57, 327.25°)
OKLaboklab(39.18% 0.1364 -0.0881)
OKLCHoklch(39.18% 0.162 327.2)
XYZxyz(9.7862, 5.0728, 16.0833)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1471 #167114
analogous
#401471 #6F1471 #711444
triadic
#6F1471 #716F14 #14716F
tetradic
#6F1471 #714014 #167114 #144471
square
#6F1471 #714014 #167114 #144471
split-complementary
#6F1471 #447114 #147140
monochromatic
#1A051A #3C0B3D #6F1471 #A21DA5 #D527D9

Accessibility & contrast

On white

10.42
#6F1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6F1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1471
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1471#FFFFFF#000000##FFFFFF
##6F14711.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1471;
/* rgb */ color: rgb(111, 20, 113);
/* oklch */ color: oklch(39.2% 0.162 327.2);
Tailwind
colors: {
  custom: {
    50: '#9c5f9a',
    500: '#6f1471',
    950: '#000000',
  },
}
SCSS
$custom: #6f1471;
$custom-light: #9c5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1471",
  "rgb": {
    "r": 111,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 298.71,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39178,
    "c": 0.1624,
    "h": 327.2
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#6F1471
secondary
#3CA739
accent
#ED3B3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1471

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

Preview Lab → · Contrast checker → · Palette generator →

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