#6C1C8F#6C1C8F

#6C1C8F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.180 H 312.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6C1C8F
RGBrgb(108, 28, 143)
HSLhsl(282, 67%, 34%)
HSVhsv(282, 80%, 56%)
CMYKcmyk(24.5%, 80.4%, 0%, 43.9%)
CIE-LABlab(29.42, 51.94, -46.61)
CIE-LCHlch(29.42, 69.79, 318.09°)
OKLaboklab(41.5% 0.1218 -0.1319)
OKLCHoklch(41.5% 0.18 312.7)
XYZxyz(11.5566, 6.0022, 26.5310)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C8F #3F8F1C
analogous
#321C8F #6C1C8F #8F1C78
triadic
#6C1C8F #8F6C1C #1C8F6C
tetradic
#6C1C8F #8F321C #3F8F1C #1C788F
square
#6C1C8F #8F321C #3F8F1C #1C788F
split-complementary
#6C1C8F #788F1C #1C8F32
monochromatic
#1F0829 #45125C #6C1C8F #9326C2 #AF4ADC

Accessibility & contrast

On white

9.54
#6C1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6C1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C8F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C8F#FFFFFF#000000##FFFFFF
##6C1C8F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#683856
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1c8f;
/* rgb */ color: rgb(108, 28, 143);
/* oklch */ color: oklch(41.5% 0.180 312.7);
Tailwind
colors: {
  custom: {
    50: '#9a63b1',
    500: '#6c1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c8f;
$custom-light: #9a63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c8f",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 281.739,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.17957,
    "h": 312.7
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#6C1C8F
secondary
#6DBE49
accent
#EA3E72
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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