#6D167E#6D167E

#6D167E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.171 H 320.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6D167E
RGBrgb(109, 22, 126)
HSLhsl(290, 70%, 29%)
HSVhsv(290, 83%, 49%)
CMYKcmyk(13.5%, 82.5%, 0%, 50.6%)
CIE-LABlab(27.66, 50.64, -38.83)
CIE-LCHlch(27.66, 63.81, 322.53°)
OKLaboklab(39.9% 0.1311 -0.109)
OKLCHoklch(39.9% 0.171 320.3)
XYZxyz(10.3590, 5.3319, 20.2181)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D167E #277E16
analogous
#39167E #6D167E #7E165B
triadic
#6D167E #7E6D16 #167E6D
tetradic
#6D167E #7E3916 #277E16 #165B7E
square
#6D167E #7E3916 #277E16 #165B7E
split-complementary
#6D167E #5B7E16 #167E39
monochromatic
#17051A #400D4A #6D167E #9A1FB2 #C033DB

Accessibility & contrast

On white

10.16
#6D167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D167E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D167E#FFFFFF#000000##FFFFFF
##6D167E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#6D2D4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d167e;
/* rgb */ color: rgb(109, 22, 126);
/* oklch */ color: oklch(39.9% 0.171 320.3);
Tailwind
colors: {
  custom: {
    50: '#9b60a4',
    500: '#6d167e',
    950: '#000000',
  },
}
SCSS
$custom: #6d167e;
$custom-light: #9b60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d167e",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 290.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.1705,
    "h": 320.3
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#6D167E
secondary
#50B33D
accent
#ED3B58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D167E

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

Preview Lab → · Contrast checker → · Palette generator →

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