#6B196C#6B196C

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

Color values

HEX#6B196C
RGBrgb(107, 25, 108)
HSLhsl(299, 62%, 26%)
HSVhsv(299, 77%, 42%)
CMYKcmyk(0.9%, 76.9%, 0%, 57.6%)
CIE-LABlab(26.46, 45.87, -29.28)
CIE-LCHlch(26.46, 54.41, 327.45°)
OKLaboklab(38.6% 0.1275 -0.0812)
OKLCHoklch(38.6% 0.151 327.5)
XYZxyz(9.1177, 4.9044, 14.6509)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B196C #1A6C19
analogous
#41196C #6B196C #6C1943
triadic
#6B196C #6C6B19 #196C6B
tetradic
#6B196C #6C4119 #1A6C19 #19436C
square
#6B196C #6C4119 #1A6C19 #19436C
split-complementary
#6B196C #436C19 #196C41
monochromatic
#190619 #3A0D3A #6B196C #9C259E #CD30CF

Accessibility & contrast

On white

10.60
#6B196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6B196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B196C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B196C#FFFFFF#000000##FFFFFF
##6B196C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386E
Deuteranopia (green-blind)
#2F426A
Tritanopia (blue-blind)
#6E2641
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b196c;
/* rgb */ color: rgb(107, 25, 108);
/* oklch */ color: oklch(38.6% 0.151 327.5);
Tailwind
colors: {
  custom: {
    50: '#986096',
    500: '#6b196c',
    950: '#000000',
  },
}
SCSS
$custom: #6b196c;
$custom-light: #986096;
$custom-dark: #000000;
JSON
{
  "hex": "#6b196c",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 299.277,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.15113,
    "h": 327.5
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#6B196C
secondary
#40A13F
accent
#E54244
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B196C

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

Preview Lab → · Contrast checker → · Palette generator →

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