#6C197E#6C197E

#6C197E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.167 H 319.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6C197E
RGBrgb(108, 25, 126)
HSLhsl(289, 67%, 30%)
HSVhsv(289, 80%, 49%)
CMYKcmyk(14.3%, 80.2%, 0%, 50.6%)
CIE-LABlab(27.82, 49.48, -38.58)
CIE-LCHlch(27.82, 62.75, 322.06°)
OKLaboklab(39.98% 0.1273 -0.1083)
OKLCHoklch(39.98% 0.167 319.6)
XYZxyz(10.2974, 5.3903, 20.2326)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C197E #2B7E19
analogous
#3A197E #6C197E #7E195E
triadic
#6C197E #7E6C19 #197E6C
tetradic
#6C197E #7E3A19 #2B7E19 #195E7E
square
#6C197E #7E3A19 #2B7E19 #195E7E
split-complementary
#6C197E #5E7E19 #197E3A
monochromatic
#16051A #400F4B #6C197E #9823B1 #BC3AD8

Accessibility & contrast

On white

10.11
#6C197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6C197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C197E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C197E#FFFFFF#000000##FFFFFF
##6C197E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#22447C
Tritanopia (blue-blind)
#6C2F4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c197e;
/* rgb */ color: rgb(108, 25, 126);
/* oklch */ color: oklch(40.0% 0.167 319.6);
Tailwind
colors: {
  custom: {
    50: '#9a61a4',
    500: '#6c197e',
    950: '#000000',
  },
}
SCSS
$custom: #6c197e;
$custom-light: #9a61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c197e",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 289.307,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.16718,
    "h": 319.6
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C197E

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

Preview Lab → · Contrast checker → · Palette generator →

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