#6C196B#6C196B

#6C196B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.151 H 328.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#6C196B
RGBrgb(108, 25, 107)
HSLhsl(301, 62%, 26%)
HSVhsv(301, 77%, 42%)
CMYKcmyk(0%, 76.9%, 0.9%, 57.6%)
CIE-LABlab(26.58, 45.92, -28.43)
CIE-LCHlch(26.58, 54.01, 328.24°)
OKLaboklab(38.7% 0.1286 -0.0787)
OKLCHoklch(38.7% 0.151 328.5)
XYZxyz(9.1857, 4.9456, 14.3779)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C196B #196C1A
analogous
#43196C #6C196B #6C1941
triadic
#6C196B #6B6C19 #196B6C
tetradic
#6C196B #6C4319 #196C1A #19416C
square
#6C196B #6C4319 #196C1A #19416C
split-complementary
#6C196B #416C19 #196C43
monochromatic
#190619 #3A0D3A #6C196B #9E259C #CF30CD

Accessibility & contrast

On white

10.56
#6C196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C196B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C196B#FFFFFF#000000##FFFFFF
##6C196B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386D
Deuteranopia (green-blind)
#304369
Tritanopia (blue-blind)
#702641
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c196b;
/* rgb */ color: rgb(108, 25, 107);
/* oklch */ color: oklch(38.7% 0.151 328.5);
Tailwind
colors: {
  custom: {
    50: '#996096',
    500: '#6c196b',
    950: '#000000',
  },
}
SCSS
$custom: #6c196b;
$custom-light: #996096;
$custom-dark: #000000;
JSON
{
  "hex": "#6c196b",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 300.723,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38696,
    "c": 0.1508,
    "h": 328.5
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#6C196B
secondary
#3FA140
accent
#E54442
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C196B

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

Preview Lab → · Contrast checker → · Palette generator →

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