#6C1677#6C1677

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

Color values

HEX#6C1677
RGBrgb(108, 22, 119)
HSLhsl(293, 69%, 28%)
HSVhsv(293, 82%, 47%)
CMYKcmyk(9.2%, 81.5%, 0%, 53.3%)
CIE-LABlab(27.00, 49.11, -35.45)
CIE-LCHlch(27.00, 60.57, 324.17°)
OKLaboklab(39.24% 0.1308 -0.0992)
OKLCHoklch(39.24% 0.164 322.8)
XYZxyz(9.8007, 5.0945, 17.9163)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1677 #217716
analogous
#3C1677 #6C1677 #771651
triadic
#6C1677 #776C16 #16776C
tetradic
#6C1677 #773C16 #217716 #165177
square
#6C1677 #773C16 #217716 #165177
split-complementary
#6C1677 #517716 #16773C
monochromatic
#17051A #3D0C43 #6C1677 #9B20AB #C52FD9

Accessibility & contrast

On white

10.40
#6C1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6C1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1677
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1677#FFFFFF#000000##FFFFFF
##6C16771.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#274375
Tritanopia (blue-blind)
#6E2A47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1677;
/* rgb */ color: rgb(108, 22, 119);
/* oklch */ color: oklch(39.2% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a5f9f',
    500: '#6c1677',
    950: '#000000',
  },
}
SCSS
$custom: #6c1677;
$custom-light: #9a5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1677",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 293.196,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39243,
    "c": 0.1641,
    "h": 322.8
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#6C1677
secondary
#49AC3C
accent
#EC3C50
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1677

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

Preview Lab → · Contrast checker → · Palette generator →

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