#6C1372#6C1372

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

Color values

HEX#6C1372
RGBrgb(108, 19, 114)
HSLhsl(296, 71%, 26%)
HSVhsv(296, 83%, 45%)
CMYKcmyk(5.3%, 83.3%, 0%, 55.3%)
CIE-LABlab(26.36, 49.08, -33.29)
CIE-LCHlch(26.36, 59.31, 325.86°)
OKLaboklab(38.68% 0.1337 -0.0928)
OKLCHoklch(38.68% 0.163 325.2)
XYZxyz(9.4543, 4.8694, 16.3583)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1372 #197213
analogous
#3C1372 #6C1372 #721348
triadic
#6C1372 #726C13 #13726C
tetradic
#6C1372 #723C13 #197213 #134872
square
#6C1372 #723C13 #197213 #134872
split-complementary
#6C1372 #487213 #13723C
monochromatic
#19041A #3A0A3E #6C1372 #9E1CA6 #CF25DB

Accessibility & contrast

On white

10.64
#6C1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6C1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1372
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1372#FFFFFF#000000##FFFFFF
##6C13721.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#6F2643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1372;
/* rgb */ color: rgb(108, 19, 114);
/* oklch */ color: oklch(38.7% 0.163 325.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e9b',
    500: '#6c1372',
    950: '#000000',
  },
}
SCSS
$custom: #6c1372;
$custom-light: #9a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1372",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 296.211,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.16274,
    "h": 325.2
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#6C1372
secondary
#3FA938
accent
#EE3A45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1372

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

Preview Lab → · Contrast checker → · Palette generator →

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