#6C1774#6C1774

#6C1774 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.161 H 324.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6C1774
RGBrgb(108, 23, 116)
HSLhsl(295, 67%, 27%)
HSVhsv(295, 80%, 45%)
CMYKcmyk(6.9%, 80.2%, 0%, 54.5%)
CIE-LABlab(26.91, 48.23, -33.68)
CIE-LCHlch(26.91, 58.83, 325.07°)
OKLaboklab(39.12% 0.1302 -0.094)
OKLCHoklch(39.12% 0.161 324.2)
XYZxyz(9.6429, 5.0625, 16.9889)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1774 #1F7417
analogous
#3E1774 #6C1774 #74174D
triadic
#6C1774 #746C17 #17746C
tetradic
#6C1774 #743E17 #1F7417 #174D74
square
#6C1774 #743E17 #1F7417 #174D74
split-complementary
#6C1774 #4D7417 #17743E
monochromatic
#18051A #3C0D41 #6C1774 #9C21A7 #C830D6

Accessibility & contrast

On white

10.44
#6C1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6C1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1774
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1774#FFFFFF#000000##FFFFFF
##6C17741.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#6E2945
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1774;
/* rgb */ color: rgb(108, 23, 116);
/* oklch */ color: oklch(39.1% 0.161 324.2);
Tailwind
colors: {
  custom: {
    50: '#995f9c',
    500: '#6c1774',
    950: '#000000',
  },
}
SCSS
$custom: #6c1774;
$custom-light: #995f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1774",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 294.839,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.16055,
    "h": 324.2
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#6C1774
secondary
#47A93D
accent
#EA3E4D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1774

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

Preview Lab → · Contrast checker → · Palette generator →

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