#6F166F#6F166F

#6F166F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.159 H 328.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6F166F
RGBrgb(111, 22, 111)
HSLhsl(300, 67%, 26%)
HSVhsv(300, 80%, 44%)
CMYKcmyk(0%, 80.2%, 0%, 56.5%)
CIE-LABlab(27.02, 48.31, -30.27)
CIE-LCHlch(27.02, 57.01, 327.93°)
OKLaboklab(39.2% 0.1348 -0.0839)
OKLCHoklch(39.2% 0.159 328.1)
XYZxyz(9.7116, 5.1017, 15.5091)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F166F #166F16
analogous
#42166F #6F166F #6F1642
triadic
#6F166F #6F6F16 #166F6F
tetradic
#6F166F #6F4216 #166F16 #16426F
square
#6F166F #6F4216 #166F16 #16426F
split-complementary
#6F166F #426F16 #166F42
monochromatic
#1A051A #3C0C3C #6F166F #A220A2 #D52BD5

Accessibility & contrast

On white

10.40
#6F166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6F166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F166F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F166F#FFFFFF#000000##FFFFFF
##6F166F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003971
Deuteranopia (green-blind)
#30446D
Tritanopia (blue-blind)
#732542
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f166f;
/* rgb */ color: rgb(111, 22, 111);
/* oklch */ color: oklch(39.2% 0.159 328.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f99',
    500: '#6f166f',
    950: '#000000',
  },
}
SCSS
$custom: #6f166f;
$custom-light: #9c5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6f166f",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 300,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.15884,
    "h": 328.1
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#6F166F
secondary
#3CA53C
accent
#EA3E3E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F166F

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

Preview Lab → · Contrast checker → · Palette generator →

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