#6F1671#6F1671

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

Color values

HEX#6F1671
RGBrgb(111, 22, 113)
HSLhsl(299, 67%, 26%)
HSVhsv(299, 81%, 44%)
CMYKcmyk(1.8%, 80.5%, 0%, 55.7%)
CIE-LABlab(27.15, 48.66, -31.36)
CIE-LCHlch(27.15, 57.89, 327.20°)
OKLaboklab(39.32% 0.1348 -0.0871)
OKLCHoklch(39.32% 0.16 327.1)
XYZxyz(9.8229, 5.1463, 16.0955)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1671 #187116
analogous
#421671 #6F1671 #711646
triadic
#6F1671 #716F16 #16716F
tetradic
#6F1671 #714216 #187116 #164671
square
#6F1671 #714216 #187116 #164671
split-complementary
#6F1671 #467116 #167142
monochromatic
#19051A #3D0C3E #6F1671 #A120A4 #D22CD6

Accessibility & contrast

On white

10.35
#6F1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6F1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1671
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1671#FFFFFF#000000##FFFFFF
##6F16711.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1671;
/* rgb */ color: rgb(111, 22, 113);
/* oklch */ color: oklch(39.3% 0.160 327.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f9a',
    500: '#6f1671',
    950: '#000000',
  },
}
SCSS
$custom: #6f1671;
$custom-light: #9c5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1671",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 298.681,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.16047,
    "h": 327.1
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#6F1671
secondary
#3EA73C
accent
#EA3E41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1671

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

Preview Lab → · Contrast checker → · Palette generator →

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