#6B197D#6B197D

#6B197D is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.166 H 319.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#6B197D
RGBrgb(107, 25, 125)
HSLhsl(289, 67%, 29%)
HSVhsv(289, 80%, 49%)
CMYKcmyk(14.4%, 80%, 0%, 51%)
CIE-LABlab(27.58, 49.08, -38.34)
CIE-LCHlch(27.58, 62.28, 322.00°)
OKLaboklab(39.75% 0.1262 -0.1077)
OKLCHoklch(39.75% 0.166 319.5)
XYZxyz(10.1122, 5.3022, 19.8888)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B197D #2B7D19
analogous
#39197D #6B197D #7D195D
triadic
#6B197D #7D6B19 #197D6B
tetradic
#6B197D #7D3919 #2B7D19 #195D7D
square
#6B197D #7D3919 #2B7D19 #195D7D
split-complementary
#6B197D #5D7D19 #197D39
monochromatic
#16051A #3F0F4A #6B197D #9723B0 #BB39D7

Accessibility & contrast

On white

10.19
#6B197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6B197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B197D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B197D#FFFFFF#000000##FFFFFF
##6B197D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#6B2E4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b197d;
/* rgb */ color: rgb(107, 25, 125);
/* oklch */ color: oklch(39.7% 0.166 319.5);
Tailwind
colors: {
  custom: {
    50: '#9960a3',
    500: '#6b197d',
    950: '#000000',
  },
}
SCSS
$custom: #6b197d;
$custom-light: #9960a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b197d",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 289.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.16589,
    "h": 319.5
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#6B197D
secondary
#55B140
accent
#EA3E5D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B197D

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

Preview Lab → · Contrast checker → · Palette generator →

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