#6C1678#6C1678

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

Color values

HEX#6C1678
RGBrgb(108, 22, 120)
HSLhsl(293, 69%, 28%)
HSVhsv(293, 82%, 47%)
CMYKcmyk(10%, 81.7%, 0%, 52.9%)
CIE-LABlab(27.07, 49.30, -35.98)
CIE-LCHlch(27.07, 61.03, 323.88°)
OKLaboklab(39.31% 0.1306 -0.1007)
OKLCHoklch(39.31% 0.165 322.4)
XYZxyz(9.8611, 5.1186, 18.2342)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1678 #227816
analogous
#3B1678 #6C1678 #781653
triadic
#6C1678 #786C16 #16786C
tetradic
#6C1678 #783B16 #227816 #165378
square
#6C1678 #783B16 #227816 #165378
split-complementary
#6C1678 #537816 #16783B
monochromatic
#17051A #3D0D44 #6C1678 #9B1FAC #C42FD9

Accessibility & contrast

On white

10.38
#6C1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1678
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1678#FFFFFF#000000##FFFFFF
##6C16781.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1678;
/* rgb */ color: rgb(108, 22, 120);
/* oklch */ color: oklch(39.3% 0.165 322.4);
Tailwind
colors: {
  custom: {
    50: '#9a5f9f',
    500: '#6c1678',
    950: '#000000',
  },
}
SCSS
$custom: #6c1678;
$custom-light: #9a5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1678",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 292.653,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.16496,
    "h": 322.4
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#6C1678
secondary
#4AAD3C
accent
#EC3C51
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1678

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

Preview Lab → · Contrast checker → · Palette generator →

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