#6C1776#6C1776

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

Color values

HEX#6C1776
RGBrgb(108, 23, 118)
HSLhsl(294, 67%, 28%)
HSVhsv(294, 81%, 46%)
CMYKcmyk(8.5%, 80.5%, 0%, 53.7%)
CIE-LABlab(27.04, 48.61, -34.75)
CIE-LCHlch(27.04, 59.75, 324.44°)
OKLaboklab(39.25% 0.13 -0.0971)
OKLCHoklch(39.25% 0.162 323.2)
XYZxyz(9.7604, 5.1095, 17.6082)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1776 #217617
analogous
#3C1776 #6C1776 #761751
triadic
#6C1776 #766C17 #17766C
tetradic
#6C1776 #763C17 #217617 #175176
square
#6C1776 #763C17 #217617 #175176
split-complementary
#6C1776 #517617 #17763C
monochromatic
#17051A #3D0D43 #6C1776 #9B21A9 #C531D7

Accessibility & contrast

On white

10.39
#6C1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1776
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1776#FFFFFF#000000##FFFFFF
##6C17761.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#6E2A46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1776;
/* rgb */ color: rgb(108, 23, 118);
/* oklch */ color: oklch(39.3% 0.162 323.2);
Tailwind
colors: {
  custom: {
    50: '#995f9e',
    500: '#6c1776',
    950: '#000000',
  },
}
SCSS
$custom: #6c1776;
$custom-light: #995f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1776",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 293.684,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.16226,
    "h": 323.2
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#6C1776
secondary
#49AB3E
accent
#EA3E50
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1776

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

Preview Lab → · Contrast checker → · Palette generator →

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