#6C1884#6C1884

#6C1884 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 317.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6C1884
RGBrgb(108, 24, 132)
HSLhsl(287, 69%, 31%)
HSVhsv(287, 82%, 52%)
CMYKcmyk(18.2%, 81.8%, 0%, 48.2%)
CIE-LABlab(28.14, 51.00, -41.84)
CIE-LCHlch(28.14, 65.97, 320.64°)
OKLaboklab(40.33% 0.1273 -0.1179)
OKLCHoklch(40.33% 0.173 317.2)
XYZxyz(10.6752, 5.5078, 22.3261)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1884 #308418
analogous
#361884 #6C1884 #841866
triadic
#6C1884 #846C18 #18846C
tetradic
#6C1884 #843618 #308418 #186684
square
#6C1884 #843618 #308418 #186684
split-complementary
#6C1884 #668418 #188436
monochromatic
#17051C #420F50 #6C1884 #9621B8 #B83BDB

Accessibility & contrast

On white

9.99
#6C1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1884
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1884#FFFFFF#000000##FFFFFF
##6C18841.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#6B314E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1884;
/* rgb */ color: rgb(108, 24, 132);
/* oklch */ color: oklch(40.3% 0.173 317.2);
Tailwind
colors: {
  custom: {
    50: '#9a60a8',
    500: '#6c1884',
    950: '#000000',
  },
}
SCSS
$custom: #6c1884;
$custom-light: #9a60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1884",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 286.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.17348,
    "h": 317.2
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#6C1884
secondary
#5BB840
accent
#EC3C63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1884

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

Preview Lab → · Contrast checker → · Palette generator →

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