#6D166E#6D166E

#6D166E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.157 H 327.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6D166E
RGBrgb(109, 22, 110)
HSLhsl(299, 67%, 26%)
HSVhsv(299, 80%, 43%)
CMYKcmyk(0.9%, 80%, 0%, 56.9%)
CIE-LABlab(26.60, 47.68, -30.33)
CIE-LCHlch(26.60, 56.51, 327.54°)
OKLaboklab(38.8% 0.1326 -0.0842)
OKLCHoklch(38.8% 0.157 327.6)
XYZxyz(9.4079, 4.9515, 15.2091)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D166E #176E16
analogous
#41166E #6D166E #6E1643
triadic
#6D166E #6E6D16 #166E6D
tetradic
#6D166E #6E4116 #176E16 #16436E
square
#6D166E #6E4116 #176E16 #16436E
split-complementary
#6D166E #436E16 #166E41
monochromatic
#19051A #3A0C3B #6D166E #A020A1 #D22AD4

Accessibility & contrast

On white

10.55
#6D166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D166E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D166E#FFFFFF#000000##FFFFFF
##6D166E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#2E436C
Tritanopia (blue-blind)
#702541
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d166e;
/* rgb */ color: rgb(109, 22, 110);
/* oklch */ color: oklch(38.8% 0.157 327.6);
Tailwind
colors: {
  custom: {
    50: '#9a5f98',
    500: '#6d166e',
    950: '#000000',
  },
}
SCSS
$custom: #6d166e;
$custom-light: #9a5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6d166e",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 299.318,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.15704,
    "h": 327.6
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#6D166E
secondary
#3DA43C
accent
#EA3E40
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D166E

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

Preview Lab → · Contrast checker → · Palette generator →

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