#6C1679#6C1679

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

Color values

HEX#6C1679
RGBrgb(108, 22, 121)
HSLhsl(292, 69%, 28%)
HSVhsv(292, 82%, 47%)
CMYKcmyk(10.7%, 81.8%, 0%, 52.5%)
CIE-LABlab(27.14, 49.49, -36.51)
CIE-LCHlch(27.14, 61.50, 323.58°)
OKLaboklab(39.38% 0.1305 -0.1022)
OKLCHoklch(39.38% 0.166 321.9)
XYZxyz(9.9221, 5.1430, 18.5555)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1679 #237916
analogous
#3A1679 #6C1679 #791654
triadic
#6C1679 #796C16 #16796C
tetradic
#6C1679 #793A16 #237916 #165479
square
#6C1679 #793A16 #237916 #165479
split-complementary
#6C1679 #547916 #16793A
monochromatic
#17051A #3E0D45 #6C1679 #9A1FAD #C330D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1679#FFFFFF#000000##FFFFFF
##6C16791.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)
#003A7C
Deuteranopia (green-blind)
#254377
Tritanopia (blue-blind)
#6D2B48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1679;
/* rgb */ color: rgb(108, 22, 121);
/* oklch */ color: oklch(39.4% 0.166 321.9);
Tailwind
colors: {
  custom: {
    50: '#9a5fa0',
    500: '#6c1679',
    950: '#000000',
  },
}
SCSS
$custom: #6c1679;
$custom-light: #9a5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1679",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 292.121,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.16581,
    "h": 321.9
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#6C1679
secondary
#4BAE3D
accent
#EC3C53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6C1679

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

Preview Lab → · Contrast checker → · Palette generator →

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