#6C1A7A#6C1A7A

#6C1A7A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.163 H 321.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6C1A7A
RGBrgb(108, 26, 122)
HSLhsl(291, 65%, 29%)
HSVhsv(291, 79%, 48%)
CMYKcmyk(11.5%, 78.7%, 0%, 52.2%)
CIE-LABlab(27.66, 48.36, -36.30)
CIE-LCHlch(27.66, 60.47, 323.11°)
OKLaboklab(39.78% 0.1269 -0.1017)
OKLCHoklch(39.78% 0.163 321.3)
XYZxyz(10.0662, 5.3326, 18.9077)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A7A #287A1A
analogous
#3C1A7A #6C1A7A #7A1A58
triadic
#6C1A7A #7A6C1A #1A7A6C
tetradic
#6C1A7A #7A3C1A #287A1A #1A587A
square
#6C1A7A #7A3C1A #287A1A #1A587A
split-complementary
#6C1A7A #587A1A #1A7A3C
monochromatic
#160519 #3F0F48 #6C1A7A #9925AC #BE39D5

Accessibility & contrast

On white

10.16
#6C1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6C1A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A7A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A7A#FFFFFF#000000##FFFFFF
##6C1A7A1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#6D2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1a7a;
/* rgb */ color: rgb(108, 26, 122);
/* oklch */ color: oklch(39.8% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#9961a1',
    500: '#6c1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a7a;
$custom-light: #9961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a7a",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 291.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.16261,
    "h": 321.3
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#6C1A7A
secondary
#51AE41
accent
#E84058
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6C1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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