#6C1571#6C1571

#6C1571 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.160 H 325.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#6C1571
RGBrgb(108, 21, 113)
HSLhsl(297, 69%, 26%)
HSVhsv(297, 81%, 44%)
CMYKcmyk(4.4%, 81.4%, 0%, 55.7%)
CIE-LABlab(26.50, 48.31, -32.43)
CIE-LCHlch(26.50, 58.18, 326.13°)
OKLaboklab(38.76% 0.1321 -0.0903)
OKLCHoklch(38.76% 0.16 325.6)
XYZxyz(9.4329, 4.9174, 16.0719)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1571 #1A7115
analogous
#3E1571 #6C1571 #711548
triadic
#6C1571 #716C15 #15716C
tetradic
#6C1571 #713E15 #1A7115 #154871
square
#6C1571 #713E15 #1A7115 #154871
split-complementary
#6C1571 #487115 #15713E
monochromatic
#19051A #3B0B3D #6C1571 #9D1FA5 #CE29D7

Accessibility & contrast

On white

10.59
#6C1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1571
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1571#FFFFFF#000000##FFFFFF
##6C15711.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1571;
/* rgb */ color: rgb(108, 21, 113);
/* oklch */ color: oklch(38.8% 0.160 325.6);
Tailwind
colors: {
  custom: {
    50: '#995e9a',
    500: '#6c1571',
    950: '#000000',
  },
}
SCSS
$custom: #6c1571;
$custom-light: #995e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1571",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 296.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.16004,
    "h": 325.6
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#6C1571
secondary
#41A73B
accent
#EB3C46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1571

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

Preview Lab → · Contrast checker → · Palette generator →

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