#6C1C7D#6C1C7D

#6C1C7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.163 H 319.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#6C1C7D
RGBrgb(108, 28, 125)
HSLhsl(289, 63%, 30%)
HSVhsv(289, 78%, 49%)
CMYKcmyk(13.6%, 77.6%, 0%, 51%)
CIE-LABlab(28.11, 48.24, -37.47)
CIE-LCHlch(28.11, 61.09, 322.16°)
OKLaboklab(40.16% 0.1247 -0.1051)
OKLCHoklch(40.16% 0.163 319.9)
XYZxyz(10.3008, 5.4998, 19.9171)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C7D #2D7D1C
analogous
#3C1C7D #6C1C7D #7D1C5D
triadic
#6C1C7D #7D6C1C #1C7D6C
tetradic
#6C1C7D #7D3C1C #2D7D1C #1C5D7D
square
#6C1C7D #7D3C1C #2D7D1C #1C5D7D
split-complementary
#6C1C7D #5D7D1C #1C7D3C
monochromatic
#160619 #41114B #6C1C7D #9727AF #BA3FD4

Accessibility & contrast

On white

10.00
#6C1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6C1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C7D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C7D#FFFFFF#000000##FFFFFF
##6C1C7D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#6C304B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1c7d;
/* rgb */ color: rgb(108, 28, 125);
/* oklch */ color: oklch(40.2% 0.163 319.9);
Tailwind
colors: {
  custom: {
    50: '#9962a3',
    500: '#6c1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c7d;
$custom-light: #9962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c7d",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 289.485,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.16309,
    "h": 319.9
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#6C1C7D
secondary
#57B144
accent
#E6415E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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