#6C1471#6C1471

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

Color values

HEX#6C1471
RGBrgb(108, 20, 113)
HSLhsl(297, 70%, 26%)
HSVhsv(297, 82%, 44%)
CMYKcmyk(4.4%, 82.3%, 0%, 55.7%)
CIE-LABlab(26.39, 48.61, -32.59)
CIE-LCHlch(26.39, 58.53, 326.16°)
OKLaboklab(38.69% 0.133 -0.0908)
OKLCHoklch(38.69% 0.161 325.7)
XYZxyz(9.4149, 4.8814, 16.0659)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1471 #197114
analogous
#3D1471 #6C1471 #711447
triadic
#6C1471 #716C14 #14716C
tetradic
#6C1471 #713D14 #197114 #144771
square
#6C1471 #713D14 #197114 #144771
split-complementary
#6C1471 #477114 #14713D
monochromatic
#19051A #3A0B3D #6C1471 #9E1DA5 #CF27D9

Accessibility & contrast

On white

10.63
#6C1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6C1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1471
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1471#FFFFFF#000000##FFFFFF
##6C14711.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1471;
/* rgb */ color: rgb(108, 20, 113);
/* oklch */ color: oklch(38.7% 0.161 325.7);
Tailwind
colors: {
  custom: {
    50: '#995e9a',
    500: '#6c1471',
    950: '#000000',
  },
}
SCSS
$custom: #6c1471;
$custom-light: #995e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1471",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 296.774,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38685,
    "c": 0.161,
    "h": 325.7
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#6C1471
secondary
#3FA739
accent
#ED3B45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1471

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

Preview Lab → · Contrast checker → · Palette generator →

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