#6F166C#6F166C

#6F166C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.156 H 329.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6F166C
RGBrgb(111, 22, 108)
HSLhsl(302, 67%, 26%)
HSVhsv(302, 80%, 44%)
CMYKcmyk(0%, 80.2%, 2.7%, 56.5%)
CIE-LABlab(26.84, 47.79, -28.63)
CIE-LCHlch(26.84, 55.71, 329.07°)
OKLaboklab(39.01% 0.1349 -0.0792)
OKLCHoklch(39.01% 0.156 329.6)
XYZxyz(9.5492, 5.0368, 14.6537)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F166C #166F19
analogous
#45166F #6F166C #6F163F
triadic
#6F166C #6C6F16 #166C6F
tetradic
#6F166C #6F4516 #166F19 #163F6F
square
#6F166C #6F4516 #166F19 #163F6F
split-complementary
#6F166C #3F6F16 #166F45
monochromatic
#1A0519 #3C0C3A #6F166C #A2209E #D52BCF

Accessibility & contrast

On white

10.46
#6F166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F166C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F166C#FFFFFF#000000##FFFFFF
##6F166C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386E
Deuteranopia (green-blind)
#31446A
Tritanopia (blue-blind)
#732340
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f166c;
/* rgb */ color: rgb(111, 22, 108);
/* oklch */ color: oklch(39.0% 0.156 329.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f96',
    500: '#6f166c',
    950: '#000000',
  },
}
SCSS
$custom: #6f166c;
$custom-light: #9c5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6f166c",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 302.022,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.15643,
    "h": 329.6
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#6F166C
secondary
#3CA53F
accent
#EA443E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F166C

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

Preview Lab → · Contrast checker → · Palette generator →

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