#6B197C#6B197C

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

Color values

HEX#6B197C
RGBrgb(107, 25, 124)
HSLhsl(290, 66%, 29%)
HSVhsv(290, 80%, 49%)
CMYKcmyk(13.7%, 79.8%, 0%, 51.4%)
CIE-LABlab(27.51, 48.89, -37.82)
CIE-LCHlch(27.51, 61.81, 322.27°)
OKLaboklab(39.68% 0.1263 -0.1061)
OKLCHoklch(39.68% 0.165 320)
XYZxyz(10.0487, 5.2768, 19.5541)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B197C #2A7C19
analogous
#3A197C #6B197C #7C195C
triadic
#6B197C #7C6B19 #197C6B
tetradic
#6B197C #7C3A19 #2A7C19 #195C7C
square
#6B197C #7C3A19 #2A7C19 #195C7C
split-complementary
#6B197C #5C7C19 #197C3A
monochromatic
#160519 #3F0F49 #6B197C #9723AF #BC38D7

Accessibility & contrast

On white

10.22
#6B197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B197C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B197C#FFFFFF#000000##FFFFFF
##6B197C1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#6B2E4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b197c;
/* rgb */ color: rgb(107, 25, 124);
/* oklch */ color: oklch(39.7% 0.165 320.0);
Tailwind
colors: {
  custom: {
    50: '#9960a2',
    500: '#6b197c',
    950: '#000000',
  },
}
SCSS
$custom: #6b197c;
$custom-light: #9960a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b197c",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 289.697,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.16501,
    "h": 320
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#6B197C
secondary
#54B040
accent
#E93E5C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B197C

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

Preview Lab → · Contrast checker → · Palette generator →

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