#6C1966#6C1966

#6C1966 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.147 H 331.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#6C1966
RGBrgb(108, 25, 102)
HSLhsl(304, 62%, 26%)
HSVhsv(304, 77%, 42%)
CMYKcmyk(0%, 76.9%, 5.6%, 57.6%)
CIE-LABlab(26.28, 45.05, -25.66)
CIE-LCHlch(26.28, 51.84, 330.33°)
OKLaboklab(38.39% 0.1285 -0.0707)
OKLCHoklch(38.39% 0.147 331.2)
XYZxyz(8.9302, 4.8434, 13.0323)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1966 #196C1F
analogous
#48196C #6C1966 #6C193C
triadic
#6C1966 #666C19 #19666C
tetradic
#6C1966 #6C4819 #196C1F #193C6C
square
#6C1966 #6C4819 #196C1F #193C6C
split-complementary
#6C1966 #3C6C19 #196C48
monochromatic
#190617 #3A0D37 #6C1966 #9E2595 #CF30C4

Accessibility & contrast

On white

10.67
#6C1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6C1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1966
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1966#FFFFFF#000000##FFFFFF
##6C19661.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123768
Deuteranopia (green-blind)
#334264
Tritanopia (blue-blind)
#71233E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1966;
/* rgb */ color: rgb(108, 25, 102);
/* oklch */ color: oklch(38.4% 0.147 331.2);
Tailwind
colors: {
  custom: {
    50: '#995f92',
    500: '#6c1966',
    950: '#000000',
  },
}
SCSS
$custom: #6c1966;
$custom-light: #995f92;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1966",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 304.337,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38389,
    "c": 0.14669,
    "h": 331.2
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#6C1966
secondary
#3FA146
accent
#E54E42
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C1966

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

Preview Lab → · Contrast checker → · Palette generator →

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