#6F1971#6F1971

#6F1971 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.157 H 327.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#6F1971
RGBrgb(111, 25, 113)
HSLhsl(299, 64%, 27%)
HSVhsv(299, 78%, 44%)
CMYKcmyk(1.8%, 77.9%, 0%, 55.7%)
CIE-LABlab(27.48, 47.69, -30.82)
CIE-LCHlch(27.48, 56.78, 327.13°)
OKLaboklab(39.56% 0.1321 -0.0856)
OKLCHoklch(39.56% 0.157 327.1)
XYZxyz(9.8837, 5.2677, 16.1158)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1971 #1B7119
analogous
#431971 #6F1971 #711947
triadic
#6F1971 #716F19 #19716F
tetradic
#6F1971 #714319 #1B7119 #194771
square
#6F1971 #714319 #1B7119 #194771
split-complementary
#6F1971 #477119 #197143
monochromatic
#190619 #3E0E3F #6F1971 #A024A3 #CE33D2

Accessibility & contrast

On white

10.23
#6F1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6F1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1971
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1971#FFFFFF#000000##FFFFFF
##6F19711.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#722844
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1971;
/* rgb */ color: rgb(111, 25, 113);
/* oklch */ color: oklch(39.6% 0.157 327.1);
Tailwind
colors: {
  custom: {
    50: '#9c609a',
    500: '#6f1971',
    950: '#000000',
  },
}
SCSS
$custom: #6f1971;
$custom-light: #9c609a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1971",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 298.636,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.15735,
    "h": 327.1
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#6F1971
secondary
#42A640
accent
#E74145
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1971

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

Preview Lab → · Contrast checker → · Palette generator →

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