#6F166B#6F166B

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

Color values

HEX#6F166B
RGBrgb(111, 22, 107)
HSLhsl(303, 67%, 26%)
HSVhsv(303, 80%, 44%)
CMYKcmyk(0%, 80.2%, 3.6%, 56.5%)
CIE-LABlab(26.78, 47.62, -28.08)
CIE-LCHlch(26.78, 55.28, 329.47°)
OKLaboklab(38.94% 0.1349 -0.0776)
OKLCHoklch(38.94% 0.156 330.1)
XYZxyz(9.4963, 5.0156, 14.3750)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F166B #166F1A
analogous
#46166F #6F166B #6F163E
triadic
#6F166B #6B6F16 #166B6F
tetradic
#6F166B #6F4616 #166F1A #163E6F
square
#6F166B #6F4616 #166F1A #163E6F
split-complementary
#6F166B #3E6F16 #166F46
monochromatic
#1A0519 #3C0C3A #6F166B #A2209C #D52BCD

Accessibility & contrast

On white

10.48
#6F166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6F166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F166B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F166B#FFFFFF#000000##FFFFFF
##6F166B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386D
Deuteranopia (green-blind)
#324369
Tritanopia (blue-blind)
#732340
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f166b;
/* rgb */ color: rgb(111, 22, 107);
/* oklch */ color: oklch(38.9% 0.156 330.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f96',
    500: '#6f166b',
    950: '#000000',
  },
}
SCSS
$custom: #6f166b;
$custom-light: #9c5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6f166b",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 302.697,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.15562,
    "h": 330.1
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#6F166B
secondary
#3CA540
accent
#EA463E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F166B

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

Preview Lab → · Contrast checker → · Palette generator →

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