#6D1981#6D1981

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

Color values

HEX#6D1981
RGBrgb(109, 25, 129)
HSLhsl(288, 68%, 30%)
HSVhsv(288, 81%, 51%)
CMYKcmyk(15.5%, 80.6%, 0%, 49.4%)
CIE-LABlab(28.20, 50.28, -39.85)
CIE-LCHlch(28.20, 64.15, 321.60°)
OKLaboklab(40.34% 0.1282 -0.112)
OKLCHoklch(40.34% 0.17 318.9)
XYZxyz(10.6162, 5.5320, 21.2732)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1981 #2D8119
analogous
#391981 #6D1981 #811961
triadic
#6D1981 #816D19 #19816D
tetradic
#6D1981 #813919 #2D8119 #196181
square
#6D1981 #813919 #2D8119 #196181
split-complementary
#6D1981 #618119 #198139
monochromatic
#16051A #420F4E #6D1981 #9823B4 #BB3BD9

Accessibility & contrast

On white

9.97
#6D1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1981
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1981#FFFFFF#000000##FFFFFF
##6D19811.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#20457F
Tritanopia (blue-blind)
#6D304D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1981;
/* rgb */ color: rgb(109, 25, 129);
/* oklch */ color: oklch(40.3% 0.170 318.9);
Tailwind
colors: {
  custom: {
    50: '#9b61a6',
    500: '#6d1981',
    950: '#000000',
  },
}
SCSS
$custom: #6d1981;
$custom-light: #9b61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1981",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 288.462,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.17024,
    "h": 318.9
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#6D1981
secondary
#57B541
accent
#EA3D5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D1981

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

Preview Lab → · Contrast checker → · Palette generator →

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