#6D1884#6D1884

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

Color values

HEX#6D1884
RGBrgb(109, 24, 132)
HSLhsl(287, 69%, 31%)
HSVhsv(287, 82%, 52%)
CMYKcmyk(17.4%, 81.8%, 0%, 48.2%)
CIE-LABlab(28.30, 51.20, -41.56)
CIE-LCHlch(28.30, 65.94, 320.93°)
OKLaboklab(40.49% 0.1286 -0.117)
OKLCHoklch(40.49% 0.174 317.7)
XYZxyz(10.7976, 5.5709, 22.3319)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1884 #2F8418
analogous
#371884 #6D1884 #841865
triadic
#6D1884 #846D18 #18846D
tetradic
#6D1884 #843718 #2F8418 #186584
square
#6D1884 #843718 #2F8418 #186584
split-complementary
#6D1884 #658418 #188437
monochromatic
#17051C #420F50 #6D1884 #9821B8 #B93BDB

Accessibility & contrast

On white

9.93
#6D1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1884
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1884#FFFFFF#000000##FFFFFF
##6D18841.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#6C314E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1884;
/* rgb */ color: rgb(109, 24, 132);
/* oklch */ color: oklch(40.5% 0.174 317.7);
Tailwind
colors: {
  custom: {
    50: '#9b61a8',
    500: '#6d1884',
    950: '#000000',
  },
}
SCSS
$custom: #6d1884;
$custom-light: #9b61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1884",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 287.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.17385,
    "h": 317.7
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#6D1884
secondary
#59B840
accent
#EC3C61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1884

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

Preview Lab → · Contrast checker → · Palette generator →

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