#6C1071#6C1071

#6C1071 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.165 H 325.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#6C1071
RGBrgb(108, 16, 113)
HSLhsl(297, 75%, 25%)
HSVhsv(297, 86%, 44%)
CMYKcmyk(4.4%, 85.8%, 0%, 55.7%)
CIE-LABlab(26.02, 49.72, -33.20)
CIE-LCHlch(26.02, 59.78, 326.27°)
OKLaboklab(38.42% 0.136 -0.0925)
OKLCHoklch(38.42% 0.165 325.8)
XYZxyz(9.3501, 4.7516, 16.0443)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1071 #157110
analogous
#3B1071 #6C1071 #711046
triadic
#6C1071 #716C10 #10716C
tetradic
#6C1071 #713B10 #157110 #104671
square
#6C1071 #713B10 #157110 #104671
split-complementary
#6C1071 #467110 #10713B
monochromatic
#1A041B #39083B #6C1071 #9F18A7 #D21FDC

Accessibility & contrast

On white

10.77
#6C1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6C1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1071
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1071#FFFFFF#000000##FFFFFF
##6C10711.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#29416F
Tritanopia (blue-blind)
#6F2442
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1071;
/* rgb */ color: rgb(108, 16, 113);
/* oklch */ color: oklch(38.4% 0.165 325.8);
Tailwind
colors: {
  custom: {
    50: '#9a5d9a',
    500: '#6c1071',
    950: '#000000',
  },
}
SCSS
$custom: #6c1071;
$custom-light: #9a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1071",
  "rgb": {
    "r": 108,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 296.907,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38417,
    "c": 0.1645,
    "h": 325.8
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#6C1071
secondary
#3AA934
accent
#F23640
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1071

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

Preview Lab → · Contrast checker → · Palette generator →

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