#6F166E#6F166E

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

Color values

HEX#6F166E
RGBrgb(111, 22, 110)
HSLhsl(301, 67%, 26%)
HSVhsv(301, 80%, 44%)
CMYKcmyk(0%, 80.2%, 0.9%, 56.5%)
CIE-LABlab(26.96, 48.13, -29.73)
CIE-LCHlch(26.96, 56.57, 328.30°)
OKLaboklab(39.13% 0.1349 -0.0824)
OKLCHoklch(39.13% 0.158 328.6)
XYZxyz(9.6568, 5.0798, 15.2207)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F166E #166F17
analogous
#43166F #6F166E #6F1641
triadic
#6F166E #6E6F16 #166E6F
tetradic
#6F166E #6F4316 #166F17 #16416F
square
#6F166E #6F4316 #166F17 #16416F
split-complementary
#6F166E #416F16 #166F43
monochromatic
#1A0519 #3C0C3B #6F166E #A220A1 #D52BD3

Accessibility & contrast

On white

10.42
#6F166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F166E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F166E#FFFFFF#000000##FFFFFF
##6F166E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023870
Deuteranopia (green-blind)
#30446C
Tritanopia (blue-blind)
#732442
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f166e;
/* rgb */ color: rgb(111, 22, 110);
/* oklch */ color: oklch(39.1% 0.158 328.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f98',
    500: '#6f166e',
    950: '#000000',
  },
}
SCSS
$custom: #6f166e;
$custom-light: #9c5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6f166e",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 300.674,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.15803,
    "h": 328.6
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#6F166E
secondary
#3CA53D
accent
#EA403E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F166E

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

Preview Lab → · Contrast checker → · Palette generator →

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