#6C1877#6C1877

#6C1877 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.162 H 322.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#6C1877
RGBrgb(108, 24, 119)
HSLhsl(293, 66%, 28%)
HSVhsv(293, 80%, 47%)
CMYKcmyk(9.2%, 79.8%, 0%, 53.3%)
CIE-LABlab(27.22, 48.47, -35.10)
CIE-LCHlch(27.22, 59.84, 324.09°)
OKLaboklab(39.4% 0.129 -0.0981)
OKLCHoklch(39.4% 0.162 322.7)
XYZxyz(9.8404, 5.1739, 17.9295)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1877 #237718
analogous
#3D1877 #6C1877 #771852
triadic
#6C1877 #776C18 #18776C
tetradic
#6C1877 #773D18 #237718 #185277
square
#6C1877 #773D18 #237718 #185277
split-complementary
#6C1877 #527718 #18773D
monochromatic
#170519 #3E0E44 #6C1877 #9A22AA #C333D6

Accessibility & contrast

On white

10.32
#6C1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6C1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1877
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1877#FFFFFF#000000##FFFFFF
##6C18771.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#284375
Tritanopia (blue-blind)
#6E2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1877;
/* rgb */ color: rgb(108, 24, 119);
/* oklch */ color: oklch(39.4% 0.162 322.7);
Tailwind
colors: {
  custom: {
    50: '#99609f',
    500: '#6c1877',
    950: '#000000',
  },
}
SCSS
$custom: #6c1877;
$custom-light: #99609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1877",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 293.053,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.16209,
    "h": 322.7
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#6C1877
secondary
#4BAC3F
accent
#E93E52
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1877

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

Preview Lab → · Contrast checker → · Palette generator →

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