#6C1276#6C1276

#6C1276 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.167 H 323.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6C1276
RGBrgb(108, 18, 118)
HSLhsl(294, 74%, 27%)
HSVhsv(294, 85%, 46%)
CMYKcmyk(8.5%, 84.7%, 0%, 53.7%)
CIE-LABlab(26.53, 50.09, -35.57)
CIE-LCHlch(26.53, 61.43, 324.62°)
OKLaboklab(38.89% 0.134 -0.0995)
OKLCHoklch(38.89% 0.167 323.4)
XYZxyz(9.6704, 4.9294, 17.5781)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1276 #1C7612
analogous
#3A1276 #6C1276 #76124E
triadic
#6C1276 #766C12 #12766C
tetradic
#6C1276 #763A12 #1C7612 #124E76
square
#6C1276 #763A12 #1C7612 #124E76
split-complementary
#6C1276 #4E7612 #12763A
monochromatic
#18041B #3B0A41 #6C1276 #9D1AAB #CB25DE

Accessibility & contrast

On white

10.58
#6C1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1276
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1276#FFFFFF#000000##FFFFFF
##6C12761.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#264274
Tritanopia (blue-blind)
#6E2745
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1276;
/* rgb */ color: rgb(108, 18, 118);
/* oklch */ color: oklch(38.9% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#9a5e9e',
    500: '#6c1276',
    950: '#000000',
  },
}
SCSS
$custom: #6c1276;
$custom-light: #9a5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1276",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 294,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.16691,
    "h": 323.4
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#6C1276
secondary
#43AD37
accent
#F0384A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1276

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

Preview Lab → · Contrast checker → · Palette generator →

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