#6C196D#6C196D

#6C196D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.152 H 327.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#6C196D
RGBrgb(108, 25, 109)
HSLhsl(299, 63%, 26%)
HSVhsv(299, 77%, 43%)
CMYKcmyk(0.9%, 77.1%, 0%, 57.3%)
CIE-LABlab(26.70, 46.28, -29.53)
CIE-LCHlch(26.70, 54.90, 327.46°)
OKLaboklab(38.82% 0.1286 -0.0819)
OKLCHoklch(38.82% 0.152 327.5)
XYZxyz(9.2922, 4.9882, 14.9384)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C196D #1A6D19
analogous
#42196D #6C196D #6D1944
triadic
#6C196D #6D6C19 #196D6C
tetradic
#6C196D #6D4219 #1A6D19 #19446D
square
#6C196D #6D4219 #1A6D19 #19446D
split-complementary
#6C196D #446D19 #196D42
monochromatic
#190619 #3B0E3B #6C196D #9D249F #CE31D0

Accessibility & contrast

On white

10.51
#6C196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6C196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C196D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C196D#FFFFFF#000000##FFFFFF
##6C196D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#6F2742
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c196d;
/* rgb */ color: rgb(108, 25, 109);
/* oklch */ color: oklch(38.8% 0.152 327.5);
Tailwind
colors: {
  custom: {
    50: '#996097',
    500: '#6c196d',
    950: '#000000',
  },
}
SCSS
$custom: #6c196d;
$custom-light: #996097;
$custom-dark: #000000;
JSON
{
  "hex": "#6c196d",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 299.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.15248,
    "h": 327.5
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#6C196D
secondary
#41A23F
accent
#E64244
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C196D

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

Preview Lab → · Contrast checker → · Palette generator →

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