#6D1671#6D1671

#6D1671 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.160 H 326.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#6D1671
RGBrgb(109, 22, 113)
HSLhsl(297, 67%, 26%)
HSVhsv(297, 81%, 44%)
CMYKcmyk(3.5%, 80.5%, 0%, 55.7%)
CIE-LABlab(26.79, 48.22, -31.96)
CIE-LCHlch(26.79, 57.85, 326.47°)
OKLaboklab(39% 0.1324 -0.0889)
OKLCHoklch(39% 0.16 326.1)
XYZxyz(9.5740, 5.0179, 16.0839)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1671 #1A7116
analogous
#401671 #6D1671 #711648
triadic
#6D1671 #716D16 #16716D
tetradic
#6D1671 #714016 #1A7116 #164871
square
#6D1671 #714016 #1A7116 #164871
split-complementary
#6D1671 #487116 #167140
monochromatic
#19051A #3C0C3E #6D1671 #9E20A4 #CE2CD6

Accessibility & contrast

On white

10.48
#6D1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6D1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1671
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1671#FFFFFF#000000##FFFFFF
##6D16711.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1671;
/* rgb */ color: rgb(109, 22, 113);
/* oklch */ color: oklch(39.0% 0.160 326.1);
Tailwind
colors: {
  custom: {
    50: '#9a5f9a',
    500: '#6d1671',
    950: '#000000',
  },
}
SCSS
$custom: #6d1671;
$custom-light: #9a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1671",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 297.363,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.15952,
    "h": 326.1
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#6D1671
secondary
#41A73C
accent
#EA3E45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1671

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

Preview Lab → · Contrast checker → · Palette generator →

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