#6B196E#6B196E

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

Color values

HEX#6B196E
RGBrgb(107, 25, 110)
HSLhsl(298, 63%, 26%)
HSVhsv(298, 77%, 43%)
CMYKcmyk(2.7%, 77.3%, 0%, 56.9%)
CIE-LABlab(26.58, 46.23, -30.37)
CIE-LCHlch(26.58, 55.31, 326.70°)
OKLaboklab(38.73% 0.1274 -0.0844)
OKLCHoklch(38.73% 0.153 326.5)
XYZxyz(9.2253, 4.9475, 15.2179)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B196E #1C6E19
analogous
#41196E #6B196E #6E1947
triadic
#6B196E #6E6B19 #196E6B
tetradic
#6B196E #6E4119 #1C6E19 #19476E
square
#6B196E #6E4119 #1C6E19 #19476E
split-complementary
#6B196E #476E19 #196E41
monochromatic
#180619 #3A0E3C #6B196E #9C24A0 #CB31D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B196E#FFFFFF#000000##FFFFFF
##6B196E1.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)
#023870
Deuteranopia (green-blind)
#2E426C
Tritanopia (blue-blind)
#6E2742
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b196e;
/* rgb */ color: rgb(107, 25, 110);
/* oklch */ color: oklch(38.7% 0.153 326.5);
Tailwind
colors: {
  custom: {
    50: '#986098',
    500: '#6b196e',
    950: '#000000',
  },
}
SCSS
$custom: #6b196e;
$custom-light: #986098;
$custom-dark: #000000;
JSON
{
  "hex": "#6b196e",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 297.882,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.15282,
    "h": 326.5
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#6B196E
secondary
#43A33F
accent
#E64248
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B196E

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

Preview Lab → · Contrast checker → · Palette generator →

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