#6C1976#6C1976

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

Color values

HEX#6C1976
RGBrgb(108, 25, 118)
HSLhsl(294, 65%, 28%)
HSVhsv(294, 79%, 46%)
CMYKcmyk(8.5%, 78.8%, 0%, 53.7%)
CIE-LABlab(27.27, 47.94, -34.38)
CIE-LCHlch(27.27, 59.00, 324.36°)
OKLaboklab(39.42% 0.1282 -0.096)
OKLCHoklch(39.42% 0.16 323.2)
XYZxyz(9.8017, 5.1920, 17.6219)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1976 #237619
analogous
#3D1976 #6C1976 #761951
triadic
#6C1976 #766C19 #19766C
tetradic
#6C1976 #763D19 #237619 #195176
square
#6C1976 #763D19 #237619 #195176
split-complementary
#6C1976 #517619 #19763D
monochromatic
#170519 #3E0E43 #6C1976 #9A24A8 #C335D4

Accessibility & contrast

On white

10.30
#6C1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6C1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1976
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1976#FFFFFF#000000##FFFFFF
##6C19761.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1976;
/* rgb */ color: rgb(108, 25, 118);
/* oklch */ color: oklch(39.4% 0.160 323.2);
Tailwind
colors: {
  custom: {
    50: '#99609e',
    500: '#6c1976',
    950: '#000000',
  },
}
SCSS
$custom: #6c1976;
$custom-light: #99609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1976",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 293.548,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39415,
    "c": 0.16018,
    "h": 323.2
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#6C1976
secondary
#4BAB40
accent
#E84052
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6C1976

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

Preview Lab → · Contrast checker → · Palette generator →

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