#6F1371#6F1371

#6F1371 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.163 H 327.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6F1371
RGBrgb(111, 19, 113)
HSLhsl(299, 71%, 26%)
HSVhsv(299, 83%, 44%)
CMYKcmyk(1.8%, 83.2%, 0%, 55.7%)
CIE-LABlab(26.84, 49.54, -31.84)
CIE-LCHlch(26.84, 58.89, 327.27°)
OKLaboklab(39.11% 0.1372 -0.0885)
OKLCHoklch(39.11% 0.163 327.2)
XYZxyz(9.7689, 5.0382, 16.0775)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1371 #157113
analogous
#401371 #6F1371 #711344
triadic
#6F1371 #716F13 #13716F
tetradic
#6F1371 #714013 #157113 #134471
square
#6F1371 #714013 #157113 #134471
split-complementary
#6F1371 #447113 #137140
monochromatic
#1A041A #3C0A3D #6F1371 #A21CA5 #D625DA

Accessibility & contrast

On white

10.46
#6F1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1371
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1371#FFFFFF#000000##FFFFFF
##6F13711.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2D436F
Tritanopia (blue-blind)
#722443
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f1371;
/* rgb */ color: rgb(111, 19, 113);
/* oklch */ color: oklch(39.1% 0.163 327.2);
Tailwind
colors: {
  custom: {
    50: '#9c5e9a',
    500: '#6f1371',
    950: '#000000',
  },
}
SCSS
$custom: #6f1371;
$custom-light: #9c5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1371",
  "rgb": {
    "r": 111,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 298.723,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39108,
    "c": 0.16331,
    "h": 327.2
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#6F1371
secondary
#3AA838
accent
#EE3A3E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1371

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

Preview Lab → · Contrast checker → · Palette generator →

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