#6C1872#6C1872

#6C1872 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.158 H 325.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6C1872
RGBrgb(108, 24, 114)
HSLhsl(296, 65%, 27%)
HSVhsv(296, 79%, 45%)
CMYKcmyk(5.3%, 78.9%, 0%, 55.3%)
CIE-LABlab(26.90, 47.53, -32.43)
CIE-LCHlch(26.90, 57.54, 325.70°)
OKLaboklab(39.06% 0.1294 -0.0903)
OKLCHoklch(39.06% 0.158 325.1)
XYZxyz(9.5480, 5.0569, 16.3895)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1872 #1E7218
analogous
#3F1872 #6C1872 #72184B
triadic
#6C1872 #726C18 #18726C
tetradic
#6C1872 #723F18 #1E7218 #184B72
square
#6C1872 #723F18 #1E7218 #184B72
split-complementary
#6C1872 #4B7218 #18723F
monochromatic
#180519 #3C0D3F #6C1872 #9C23A5 #C931D4

Accessibility & contrast

On white

10.44
#6C1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6C1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1872
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1872#FFFFFF#000000##FFFFFF
##6C18721.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#6F2844
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1872;
/* rgb */ color: rgb(108, 24, 114);
/* oklch */ color: oklch(39.1% 0.158 325.1);
Tailwind
colors: {
  custom: {
    50: '#99609b',
    500: '#6c1872',
    950: '#000000',
  },
}
SCSS
$custom: #6c1872;
$custom-light: #99609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1872",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 296,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39063,
    "c": 0.15781,
    "h": 325.1
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#6C1872
secondary
#45A73E
accent
#E8404B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1872

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

Preview Lab → · Contrast checker → · Palette generator →

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