#6C1671#6C1671

#6C1671 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.159 H 325.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6C1671
RGBrgb(108, 22, 113)
HSLhsl(297, 67%, 26%)
HSVhsv(297, 81%, 44%)
CMYKcmyk(4.4%, 80.5%, 0%, 55.7%)
CIE-LABlab(26.61, 48.00, -32.25)
CIE-LCHlch(26.61, 57.83, 326.10°)
OKLaboklab(38.83% 0.1313 -0.0898)
OKLCHoklch(38.83% 0.159 325.6)
XYZxyz(9.4517, 4.9549, 16.0781)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1671 #1B7116
analogous
#3F1671 #6C1671 #711649
triadic
#6C1671 #716C16 #16716C
tetradic
#6C1671 #713F16 #1B7116 #164971
square
#6C1671 #713F16 #1B7116 #164971
split-complementary
#6C1671 #497116 #16713F
monochromatic
#18051A #3B0C3E #6C1671 #9D20A4 #CC2CD6

Accessibility & contrast

On white

10.55
#6C1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1671
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1671#FFFFFF#000000##FFFFFF
##6C16711.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#6F2743
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1671;
/* rgb */ color: rgb(108, 22, 113);
/* oklch */ color: oklch(38.8% 0.159 325.6);
Tailwind
colors: {
  custom: {
    50: '#995f9a',
    500: '#6c1671',
    950: '#000000',
  },
}
SCSS
$custom: #6c1671;
$custom-light: #995f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1671",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 296.703,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.15904,
    "h": 325.6
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#6C1671
secondary
#42A73C
accent
#EA3E47
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1671

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

Preview Lab → · Contrast checker → · Palette generator →

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