#6C1C8B#6C1C8B

#6C1C8B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.176 H 314.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6C1C8B
RGBrgb(108, 28, 139)
HSLhsl(283, 66%, 33%)
HSVhsv(283, 80%, 55%)
CMYKcmyk(22.3%, 79.9%, 0%, 45.5%)
CIE-LABlab(29.12, 51.10, -44.62)
CIE-LCHlch(29.12, 67.84, 318.87°)
OKLaboklab(41.19% 0.1226 -0.1261)
OKLCHoklch(41.19% 0.176 314.2)
XYZxyz(11.2590, 5.8831, 24.9636)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C8B #3B8B1C
analogous
#341C8B #6C1C8B #8B1C73
triadic
#6C1C8B #8B6C1C #1C8B6C
tetradic
#6C1C8B #8B341C #3B8B1C #1C738B
square
#6C1C8B #8B341C #3B8B1C #1C738B
split-complementary
#6C1C8B #738B1C #1C8B34
monochromatic
#1D0725 #441258 #6C1C8B #9426BE #B147DA

Accessibility & contrast

On white

9.65
#6C1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6C1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C8B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C8B#FFFFFF#000000##FFFFFF
##6C1C8B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#124689
Tritanopia (blue-blind)
#693653
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1c8b;
/* rgb */ color: rgb(108, 28, 139);
/* oklch */ color: oklch(41.2% 0.176 314.2);
Tailwind
colors: {
  custom: {
    50: '#9a62ae',
    500: '#6c1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c8b;
$custom-light: #9a62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c8b",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 283.243,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.17587,
    "h": 314.2
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#6C1C8B
secondary
#68BC47
accent
#E93E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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