#6C1971#6C1971

#6C1971 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.156 H 325.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#6C1971
RGBrgb(108, 25, 113)
HSLhsl(297, 64%, 27%)
HSVhsv(297, 78%, 44%)
CMYKcmyk(4.4%, 77.9%, 0%, 55.7%)
CIE-LABlab(26.95, 47.01, -31.70)
CIE-LCHlch(26.95, 56.70, 326.00°)
OKLaboklab(39.08% 0.1285 -0.0882)
OKLCHoklch(39.08% 0.156 325.5)
XYZxyz(9.5124, 5.0763, 16.0984)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1971 #1E7119
analogous
#401971 #6C1971 #71194A
triadic
#6C1971 #716C19 #19716C
tetradic
#6C1971 #714019 #1E7119 #194A71
square
#6C1971 #714019 #1E7119 #194A71
split-complementary
#6C1971 #4A7119 #197140
monochromatic
#180619 #3C0E3F #6C1971 #9C24A3 #C933D2

Accessibility & contrast

On white

10.42
#6C1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6C1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1971
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1971#FFFFFF#000000##FFFFFF
##6C19711.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#2D436F
Tritanopia (blue-blind)
#6F2844
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1971;
/* rgb */ color: rgb(108, 25, 113);
/* oklch */ color: oklch(39.1% 0.156 325.5);
Tailwind
colors: {
  custom: {
    50: '#99609a',
    500: '#6c1971',
    950: '#000000',
  },
}
SCSS
$custom: #6c1971;
$custom-light: #99609a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1971",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 296.591,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.15587,
    "h": 325.5
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#6C1971
secondary
#45A640
accent
#E7414A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1971

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

Preview Lab → · Contrast checker → · Palette generator →

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