#6D166D#6D166D

#6D166D is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.156 H 328.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6D166D
RGBrgb(109, 22, 109)
HSLhsl(300, 66%, 26%)
HSVhsv(300, 80%, 43%)
CMYKcmyk(0%, 79.8%, 0%, 57.3%)
CIE-LABlab(26.53, 47.51, -29.78)
CIE-LCHlch(26.53, 56.07, 327.92°)
OKLaboklab(38.74% 0.1326 -0.0826)
OKLCHoklch(38.74% 0.156 328.1)
XYZxyz(9.3538, 4.9298, 14.9239)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D166D #166D16
analogous
#41166D #6D166D #6D1641
triadic
#6D166D #6D6D16 #166D6D
tetradic
#6D166D #6D4116 #166D16 #16416D
square
#6D166D #6D4116 #166D16 #16416D
split-complementary
#6D166D #416D16 #166D41
monochromatic
#190519 #3A0C3A #6D166D #A020A0 #D32BD3

Accessibility & contrast

On white

10.58
#6D166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6D166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D166D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D166D#FFFFFF#000000##FFFFFF
##6D166D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01386F
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#712441
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d166d;
/* rgb */ color: rgb(109, 22, 109);
/* oklch */ color: oklch(38.7% 0.156 328.1);
Tailwind
colors: {
  custom: {
    50: '#9a5f97',
    500: '#6d166d',
    950: '#000000',
  },
}
SCSS
$custom: #6d166d;
$custom-light: #9a5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6d166d",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 300,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.15622,
    "h": 328.1
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#6D166D
secondary
#3CA33C
accent
#E93E3E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D166D

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

Preview Lab → · Contrast checker → · Palette generator →

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