#6D1886#6D1886

#6D1886 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.176 H 316.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#6D1886
RGBrgb(109, 24, 134)
HSLhsl(286, 70%, 31%)
HSVhsv(286, 82%, 53%)
CMYKcmyk(18.7%, 82.1%, 0%, 47.5%)
CIE-LABlab(28.45, 51.60, -42.58)
CIE-LCHlch(28.45, 66.89, 320.47°)
OKLaboklab(40.63% 0.1282 -0.12)
OKLCHoklch(40.63% 0.176 316.9)
XYZxyz(10.9357, 5.6262, 23.0596)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1886 #318618
analogous
#361886 #6D1886 #861868
triadic
#6D1886 #866D18 #18866D
tetradic
#6D1886 #863618 #318618 #186886
square
#6D1886 #863618 #318618 #186886
split-complementary
#6D1886 #688618 #188636
monochromatic
#19051E #430F52 #6D1886 #9721BA #B83CDC

Accessibility & contrast

On white

9.88
#6D1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1886
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1886#FFFFFF#000000##FFFFFF
##6D18861.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1886;
/* rgb */ color: rgb(109, 24, 134);
/* oklch */ color: oklch(40.6% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#9b61aa',
    500: '#6d1886',
    950: '#000000',
  },
}
SCSS
$custom: #6d1886;
$custom-light: #9b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1886",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 286.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.17561,
    "h": 316.9
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#6D1886
secondary
#5CBA40
accent
#EC3B64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1886

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

Preview Lab → · Contrast checker → · Palette generator →

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