#6C1371#6C1371

#6C1371 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.162 H 325.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6C1371
RGBrgb(108, 19, 113)
HSLhsl(297, 71%, 26%)
HSVhsv(297, 83%, 44%)
CMYKcmyk(4.4%, 83.2%, 0%, 55.7%)
CIE-LABlab(26.29, 48.90, -32.75)
CIE-LCHlch(26.29, 58.86, 326.19°)
OKLaboklab(38.61% 0.1338 -0.0912)
OKLCHoklch(38.61% 0.162 325.7)
XYZxyz(9.3976, 4.8468, 16.0601)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1371 #187113
analogous
#3D1371 #6C1371 #711347
triadic
#6C1371 #716C13 #13716C
tetradic
#6C1371 #713D13 #187113 #134771
square
#6C1371 #713D13 #187113 #134771
split-complementary
#6C1371 #477113 #13713D
monochromatic
#19041A #3A0A3D #6C1371 #9E1CA5 #D025DA

Accessibility & contrast

On white

10.66
#6C1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1371
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1371#FFFFFF#000000##FFFFFF
##6C13711.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#6F2543
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1371;
/* rgb */ color: rgb(108, 19, 113);
/* oklch */ color: oklch(38.6% 0.162 325.7);
Tailwind
colors: {
  custom: {
    50: '#9a5e9a',
    500: '#6c1371',
    950: '#000000',
  },
}
SCSS
$custom: #6c1371;
$custom-light: #9a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1371",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 296.809,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.16192,
    "h": 325.7
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#6C1371
secondary
#3EA838
accent
#EE3A43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1371

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

Preview Lab → · Contrast checker → · Palette generator →

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