#6C1777#6C1777

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

Color values

HEX#6C1777
RGBrgb(108, 23, 119)
HSLhsl(293, 68%, 28%)
HSVhsv(293, 81%, 47%)
CMYKcmyk(9.2%, 80.7%, 0%, 53.3%)
CIE-LABlab(27.11, 48.79, -35.28)
CIE-LCHlch(27.11, 60.21, 324.13°)
OKLaboklab(39.32% 0.1299 -0.0987)
OKLCHoklch(39.32% 0.163 322.8)
XYZxyz(9.8202, 5.1334, 17.9228)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1777 #227717
analogous
#3C1777 #6C1777 #771752
triadic
#6C1777 #776C17 #17776C
tetradic
#6C1777 #773C17 #227717 #175277
square
#6C1777 #773C17 #227717 #175277
split-complementary
#6C1777 #527717 #17773C
monochromatic
#17051A #3D0D44 #6C1777 #9B21AA #C431D7

Accessibility & contrast

On white

10.36
#6C1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1777
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1777#FFFFFF#000000##FFFFFF
##6C17771.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.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: #6c1777;
/* rgb */ color: rgb(108, 23, 119);
/* oklch */ color: oklch(39.3% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a5f9f',
    500: '#6c1777',
    950: '#000000',
  },
}
SCSS
$custom: #6c1777;
$custom-light: #9a5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1777",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 293.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.16312,
    "h": 322.8
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#6C1777
secondary
#4AAC3E
accent
#EA3D51
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1777

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

Preview Lab → · Contrast checker → · Palette generator →

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