#6D1877#6D1877

#6D1877 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.163 H 323.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#6D1877
RGBrgb(109, 24, 119)
HSLhsl(294, 66%, 28%)
HSVhsv(294, 80%, 47%)
CMYKcmyk(8.4%, 79.8%, 0%, 53.3%)
CIE-LABlab(27.40, 48.68, -34.81)
CIE-LCHlch(27.40, 59.85, 324.44°)
OKLaboklab(39.56% 0.1302 -0.0972)
OKLCHoklch(39.56% 0.163 323.3)
XYZxyz(9.9628, 5.2370, 17.9353)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1877 #227718
analogous
#3D1877 #6D1877 #771851
triadic
#6D1877 #776D18 #18776D
tetradic
#6D1877 #773D18 #227718 #185177
square
#6D1877 #773D18 #227718 #185177
split-complementary
#6D1877 #517718 #18773D
monochromatic
#170519 #3E0E44 #6D1877 #9C22AA #C533D6

Accessibility & contrast

On white

10.26
#6D1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1877
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1877#FFFFFF#000000##FFFFFF
##6D18771.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#294475
Tritanopia (blue-blind)
#6F2B47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1877;
/* rgb */ color: rgb(109, 24, 119);
/* oklch */ color: oklch(39.6% 0.163 323.3);
Tailwind
colors: {
  custom: {
    50: '#9a609f',
    500: '#6d1877',
    950: '#000000',
  },
}
SCSS
$custom: #6d1877;
$custom-light: #9a609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1877",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 293.684,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.16254,
    "h": 323.3
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#6D1877
secondary
#4AAC3F
accent
#E93E50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1877

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

Preview Lab → · Contrast checker → · Palette generator →

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