#6C1676#6C1676

#6C1676 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.163 H 323.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#6C1676
RGBrgb(108, 22, 118)
HSLhsl(294, 69%, 27%)
HSVhsv(294, 81%, 46%)
CMYKcmyk(8.5%, 81.4%, 0%, 53.7%)
CIE-LABlab(26.93, 48.92, -34.92)
CIE-LCHlch(26.93, 60.11, 324.48°)
OKLaboklab(39.17% 0.1309 -0.0976)
OKLCHoklch(39.17% 0.163 323.3)
XYZxyz(9.7410, 5.0706, 17.6017)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1676 #207616
analogous
#3C1676 #6C1676 #761650
triadic
#6C1676 #766C16 #16766C
tetradic
#6C1676 #763C16 #207616 #165076
square
#6C1676 #763C16 #207616 #165076
split-complementary
#6C1676 #507616 #16763C
monochromatic
#18051A #3D0C42 #6C1676 #9B20AA #C62ED8

Accessibility & contrast

On white

10.43
#6C1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1676
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1676#FFFFFF#000000##FFFFFF
##6C16761.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#6E2946
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1676;
/* rgb */ color: rgb(108, 22, 118);
/* oklch */ color: oklch(39.2% 0.163 323.3);
Tailwind
colors: {
  custom: {
    50: '#9a5f9e',
    500: '#6c1676',
    950: '#000000',
  },
}
SCSS
$custom: #6c1676;
$custom-light: #9a5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1676",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 293.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.16325,
    "h": 323.3
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#6C1676
secondary
#48AC3C
accent
#EB3C4F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1676

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

Preview Lab → · Contrast checker → · Palette generator →

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