#6B197A#6B197A

#6B197A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.163 H 320.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#6B197A
RGBrgb(107, 25, 122)
HSLhsl(291, 66%, 29%)
HSVhsv(291, 80%, 48%)
CMYKcmyk(12.3%, 79.5%, 0%, 52.2%)
CIE-LABlab(27.37, 48.49, -36.78)
CIE-LCHlch(27.37, 60.86, 322.82°)
OKLaboklab(39.54% 0.1266 -0.1031)
OKLCHoklch(39.54% 0.163 320.8)
XYZxyz(9.9235, 5.2267, 18.8947)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B197A #287A19
analogous
#3B197A #6B197A #7A1959
triadic
#6B197A #7A6B19 #197A6B
tetradic
#6B197A #7A3B19 #287A19 #19597A
square
#6B197A #7A3B19 #287A19 #19597A
split-complementary
#6B197A #597A19 #197A3B
monochromatic
#160519 #3E0F47 #6B197A #9823AD #BE37D6

Accessibility & contrast

On white

10.27
#6B197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6B197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B197A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B197A#FFFFFF#000000##FFFFFF
##6B197A1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#244378
Tritanopia (blue-blind)
#6C2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b197a;
/* rgb */ color: rgb(107, 25, 122);
/* oklch */ color: oklch(39.5% 0.163 320.8);
Tailwind
colors: {
  custom: {
    50: '#9960a1',
    500: '#6b197a',
    950: '#000000',
  },
}
SCSS
$custom: #6b197a;
$custom-light: #9960a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b197a",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 290.722,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.16323,
    "h": 320.8
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#6B197A
secondary
#51AF40
accent
#E93F59
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B197A

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

Preview Lab → · Contrast checker → · Palette generator →

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