#6C1699#6C1699

#6C1699 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.194 H 309.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6C1699
RGBrgb(108, 22, 153)
HSLhsl(279, 75%, 34%)
HSVhsv(279, 86%, 60%)
CMYKcmyk(29.4%, 85.6%, 0%, 40%)
CIE-LABlab(29.57, 55.94, -52.52)
CIE-LCHlch(29.57, 76.73, 316.81°)
OKLaboklab(41.85% 0.1238 -0.1492)
OKLCHoklch(41.85% 0.194 309.7)
XYZxyz(12.2199, 6.0621, 30.6572)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1699 #439916
analogous
#2A1699 #6C1699 #991685
triadic
#6C1699 #996C16 #16996C
tetradic
#6C1699 #992A16 #439916 #168599
square
#6C1699 #992A16 #439916 #168599
split-complementary
#6C1699 #859916 #16992A
monochromatic
#20072E #460E63 #6C1699 #921ECF #AE45E4

Accessibility & contrast

On white

9.49
#6C1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6C1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1699
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1699#FFFFFF#000000##FFFFFF
##6C16991.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#653A5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1699;
/* rgb */ color: rgb(108, 22, 153);
/* oklch */ color: oklch(41.8% 0.194 309.7);
Tailwind
colors: {
  custom: {
    50: '#9b61b8',
    500: '#6c1699',
    950: '#000000',
  },
}
SCSS
$custom: #6c1699;
$custom-light: #9b61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1699",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 279.389,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.19391,
    "h": 309.7
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#6C1699
secondary
#71C546
accent
#F13677
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6C1699

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

Preview Lab → · Contrast checker → · Palette generator →

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