#6F166A#6F166A

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

Color values

HEX#6F166A
RGBrgb(111, 22, 106)
HSLhsl(303, 67%, 26%)
HSVhsv(303, 80%, 44%)
CMYKcmyk(0%, 80.2%, 4.5%, 56.5%)
CIE-LABlab(26.72, 47.45, -27.53)
CIE-LCHlch(26.72, 54.86, 329.88°)
OKLaboklab(38.88% 0.1349 -0.076)
OKLCHoklch(38.88% 0.155 330.6)
XYZxyz(9.4439, 4.9947, 14.0996)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F166A #166F1B
analogous
#47166F #6F166A #6F163D
triadic
#6F166A #6A6F16 #166A6F
tetradic
#6F166A #6F4716 #166F1B #163D6F
square
#6F166A #6F4716 #166F1B #163D6F
split-complementary
#6F166A #3D6F16 #166F47
monochromatic
#1A0518 #3C0C39 #6F166A #A2209B #D52BCB

Accessibility & contrast

On white

10.51
#6F166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F166A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F166A#FFFFFF#000000##FFFFFF
##6F166A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376C
Deuteranopia (green-blind)
#324368
Tritanopia (blue-blind)
#74223F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f166a;
/* rgb */ color: rgb(111, 22, 106);
/* oklch */ color: oklch(38.9% 0.155 330.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f95',
    500: '#6f166a',
    950: '#000000',
  },
}
SCSS
$custom: #6f166a;
$custom-light: #9c5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6f166a",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 303.371,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38882,
    "c": 0.15483,
    "h": 330.6
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#6F166A
secondary
#3CA542
accent
#EA483E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F166A

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

Preview Lab → · Contrast checker → · Palette generator →

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