#6C1D86#6C1D86

#6C1D86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.170 H 316.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6C1D86
RGBrgb(108, 29, 134)
HSLhsl(285, 64%, 32%)
HSVhsv(285, 78%, 53%)
CMYKcmyk(19.4%, 78.4%, 0%, 47.5%)
CIE-LABlab(28.87, 49.70, -41.90)
CIE-LCHlch(28.87, 65.01, 319.87°)
OKLaboklab(40.9% 0.1226 -0.1181)
OKLCHoklch(40.9% 0.17 316.1)
XYZxyz(10.9261, 5.7885, 23.0914)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D86 #37861D
analogous
#381D86 #6C1D86 #861D6C
triadic
#6C1D86 #866C1D #1D866C
tetradic
#6C1D86 #86381D #37861D #1D6C86
square
#6C1D86 #86381D #37861D #1D6C86
split-complementary
#6C1D86 #6C861D #1D8638
monochromatic
#1B0721 #431254 #6C1D86 #9528B8 #B346D7

Accessibility & contrast

On white

9.73
#6C1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6C1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1D86
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D86#FFFFFF#000000##FFFFFF
##6C1D861.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1C4684
Tritanopia (blue-blind)
#6A3451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c1d86;
/* rgb */ color: rgb(108, 29, 134);
/* oklch */ color: oklch(40.9% 0.170 316.1);
Tailwind
colors: {
  custom: {
    50: '#9a63aa',
    500: '#6c1d86',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d86;
$custom-light: #9a63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d86",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 285.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.409,
    "c": 0.17022,
    "h": 316.1
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#6C1D86
secondary
#62B946
accent
#E7406A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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