#6C1C8D#6C1C8D

#6C1C8D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.178 H 313.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6C1C8D
RGBrgb(108, 28, 141)
HSLhsl(282, 67%, 33%)
HSVhsv(282, 80%, 55%)
CMYKcmyk(23.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(29.27, 51.52, -45.62)
CIE-LCHlch(29.27, 68.81, 318.47°)
OKLaboklab(41.34% 0.1222 -0.129)
OKLCHoklch(41.34% 0.178 313.4)
XYZxyz(11.4065, 5.9421, 25.7402)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C8D #3D8D1C
analogous
#331C8D #6C1C8D #8D1C75
triadic
#6C1C8D #8D6C1C #1C8D6C
tetradic
#6C1C8D #8D331C #3D8D1C #1C758D
square
#6C1C8D #8D331C #3D8D1C #1C758D
split-complementary
#6C1C8D #758D1C #1C8D33
monochromatic
#1E0827 #45125A #6C1C8D #9326C0 #B049DB

Accessibility & contrast

On white

9.60
#6C1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6C1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C8D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C8D#FFFFFF#000000##FFFFFF
##6C1C8D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#683754
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1c8d;
/* rgb */ color: rgb(108, 28, 141);
/* oklch */ color: oklch(41.3% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#9a63af',
    500: '#6c1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c8d;
$custom-light: #9a63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c8d",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 282.478,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.17772,
    "h": 313.4
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#6C1C8D
secondary
#6ABD48
accent
#EA3E70
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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