#6F166D#6F166D

#6F166D is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.157 H 329.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6F166D
RGBrgb(111, 22, 109)
HSLhsl(301, 67%, 26%)
HSVhsv(301, 80%, 44%)
CMYKcmyk(0%, 80.2%, 1.8%, 56.5%)
CIE-LABlab(26.90, 47.96, -29.18)
CIE-LCHlch(26.90, 56.14, 328.68°)
OKLaboklab(39.07% 0.1349 -0.0808)
OKLCHoklch(39.07% 0.157 329.1)
XYZxyz(9.6027, 5.0582, 14.9356)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F166D #166F18
analogous
#44166F #6F166D #6F1640
triadic
#6F166D #6D6F16 #166D6F
tetradic
#6F166D #6F4416 #166F18 #16406F
square
#6F166D #6F4416 #166F18 #16406F
split-complementary
#6F166D #406F16 #166F44
monochromatic
#1A0519 #3C0C3B #6F166D #A2209F #D52BD1

Accessibility & contrast

On white

10.44
#6F166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6F166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F166D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F166D#FFFFFF#000000##FFFFFF
##6F166D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386F
Deuteranopia (green-blind)
#31446B
Tritanopia (blue-blind)
#732441
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f166d;
/* rgb */ color: rgb(111, 22, 109);
/* oklch */ color: oklch(39.1% 0.157 329.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f97',
    500: '#6f166d',
    950: '#000000',
  },
}
SCSS
$custom: #6f166d;
$custom-light: #9c5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6f166d",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 301.348,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.15723,
    "h": 329.1
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#6F166D
secondary
#3CA53E
accent
#EA423E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F166D

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

Preview Lab → · Contrast checker → · Palette generator →

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