#6C1778#6C1778

#6C1778 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.164 H 322.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6C1778
RGBrgb(108, 23, 120)
HSLhsl(293, 68%, 28%)
HSVhsv(293, 81%, 47%)
CMYKcmyk(10%, 80.8%, 0%, 52.9%)
CIE-LABlab(27.18, 48.98, -35.81)
CIE-LCHlch(27.18, 60.67, 323.83°)
OKLaboklab(39.39% 0.1298 -0.1002)
OKLCHoklch(39.39% 0.164 322.3)
XYZxyz(9.8806, 5.1576, 18.2407)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1778 #237817
analogous
#3B1778 #6C1778 #781753
triadic
#6C1778 #786C17 #17786C
tetradic
#6C1778 #783B17 #237817 #175378
square
#6C1778 #783B17 #237817 #175378
split-complementary
#6C1778 #537817 #17783B
monochromatic
#17051A #3E0D45 #6C1778 #9A21AB #C332D8

Accessibility & contrast

On white

10.34
#6C1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1778
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1778#FFFFFF#000000##FFFFFF
##6C17781.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#6D2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1778;
/* rgb */ color: rgb(108, 23, 120);
/* oklch */ color: oklch(39.4% 0.164 322.3);
Tailwind
colors: {
  custom: {
    50: '#9a5f9f',
    500: '#6c1778',
    950: '#000000',
  },
}
SCSS
$custom: #6c1778;
$custom-light: #9a5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1778",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 292.577,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.16397,
    "h": 322.3
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#6C1778
secondary
#4BAD3E
accent
#EB3D53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1778

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

Preview Lab → · Contrast checker → · Palette generator →

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