#6C196E#6C196E

#6C196E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.153 H 327.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#6C196E
RGBrgb(108, 25, 110)
HSLhsl(299, 63%, 26%)
HSVhsv(299, 77%, 43%)
CMYKcmyk(1.8%, 77.3%, 0%, 56.9%)
CIE-LABlab(26.76, 46.46, -30.08)
CIE-LCHlch(26.76, 55.34, 327.08°)
OKLaboklab(38.89% 0.1286 -0.0835)
OKLCHoklch(38.89% 0.153 327)
XYZxyz(9.3463, 5.0099, 15.2236)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C196E #1B6E19
analogous
#42196E #6C196E #6E1946
triadic
#6C196E #6E6C19 #196E6C
tetradic
#6C196E #6E4219 #1B6E19 #19466E
square
#6C196E #6E4219 #1B6E19 #19466E
split-complementary
#6C196E #466E19 #196E42
monochromatic
#180619 #3B0E3C #6C196E #9D24A0 #CC31D0

Accessibility & contrast

On white

10.49
#6C196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C196E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C196E#FFFFFF#000000##FFFFFF
##6C196E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043970
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#6F2742
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c196e;
/* rgb */ color: rgb(108, 25, 110);
/* oklch */ color: oklch(38.9% 0.153 327.0);
Tailwind
colors: {
  custom: {
    50: '#996098',
    500: '#6c196e',
    950: '#000000',
  },
}
SCSS
$custom: #6c196e;
$custom-light: #996098;
$custom-dark: #000000;
JSON
{
  "hex": "#6c196e",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 298.588,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38886,
    "c": 0.15332,
    "h": 327
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#6C196E
secondary
#42A33F
accent
#E64246
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C196E

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

Preview Lab → · Contrast checker → · Palette generator →

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