#6C1886#6C1886

#6C1886 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.175 H 316.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6C1886
RGBrgb(108, 24, 134)
HSLhsl(286, 70%, 31%)
HSVhsv(286, 82%, 53%)
CMYKcmyk(19.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(28.28, 51.40, -42.86)
CIE-LCHlch(28.28, 66.93, 320.18°)
OKLaboklab(40.48% 0.1269 -0.1209)
OKLCHoklch(40.48% 0.175 316.4)
XYZxyz(10.8134, 5.5631, 23.0538)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1886 #328618
analogous
#351886 #6C1886 #861869
triadic
#6C1886 #866C18 #18866C
tetradic
#6C1886 #863518 #328618 #186986
square
#6C1886 #863518 #328618 #186986
split-complementary
#6C1886 #698618 #188635
monochromatic
#18051E #420F52 #6C1886 #9621BA #B63CDC

Accessibility & contrast

On white

9.94
#6C1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6C1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1886
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1886#FFFFFF#000000##FFFFFF
##6C18861.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#6A3250
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1886;
/* rgb */ color: rgb(108, 24, 134);
/* oklch */ color: oklch(40.5% 0.175 316.4);
Tailwind
colors: {
  custom: {
    50: '#9a61aa',
    500: '#6c1886',
    950: '#000000',
  },
}
SCSS
$custom: #6c1886;
$custom-light: #9a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1886",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 285.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.17525,
    "h": 316.4
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#6C1886
secondary
#5DBA40
accent
#EC3B65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1886

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

Preview Lab → · Contrast checker → · Palette generator →

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