#6D1C86#6D1C86

#6D1C86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.172 H 316.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6D1C86
RGBrgb(109, 28, 134)
HSLhsl(286, 65%, 32%)
HSVhsv(286, 79%, 53%)
CMYKcmyk(18.7%, 79.1%, 0%, 47.5%)
CIE-LABlab(28.91, 50.26, -41.83)
CIE-LCHlch(28.91, 65.39, 320.23°)
OKLaboklab(40.96% 0.1248 -0.1179)
OKLCHoklch(40.96% 0.172 316.6)
XYZxyz(11.0243, 5.8034, 23.0891)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C86 #35861C
analogous
#381C86 #6D1C86 #861C6A
triadic
#6D1C86 #866D1C #1C866D
tetradic
#6D1C86 #86381C #35861C #1C6A86
square
#6D1C86 #86381C #35861C #1C6A86
split-complementary
#6D1C86 #6A861C #1C8638
monochromatic
#1B0721 #441153 #6D1C86 #9627B9 #B544D8

Accessibility & contrast

On white

9.72
#6D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1C86
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C86#FFFFFF#000000##FFFFFF
##6D1C861.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1c86;
/* rgb */ color: rgb(109, 28, 134);
/* oklch */ color: oklch(41.0% 0.172 316.6);
Tailwind
colors: {
  custom: {
    50: '#9b62aa',
    500: '#6d1c86',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c86;
$custom-light: #9b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c86",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 285.849,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40959,
    "c": 0.17165,
    "h": 316.6
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#6D1C86
secondary
#60B945
accent
#E83F67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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