#6E166F#6E166F

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

Color values

HEX#6E166F
RGBrgb(110, 22, 111)
HSLhsl(299, 67%, 26%)
HSVhsv(299, 80%, 44%)
CMYKcmyk(0.9%, 80.2%, 0%, 56.5%)
CIE-LABlab(26.84, 48.09, -30.57)
CIE-LCHlch(26.84, 56.98, 327.55°)
OKLaboklab(39.03% 0.1337 -0.0849)
OKLCHoklch(39.03% 0.158 327.6)
XYZxyz(9.5864, 5.0372, 15.5032)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E166F #176F16
analogous
#41166F #6E166F #6F1643
triadic
#6E166F #6F6E16 #166F6E
tetradic
#6E166F #6F4116 #176F16 #16436F
square
#6E166F #6F4116 #176F16 #16436F
split-complementary
#6E166F #436F16 #166F41
monochromatic
#19051A #3B0C3C #6E166F #A120A2 #D32BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E166F#FFFFFF#000000##FFFFFF
##6E166F1.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)
#003871
Deuteranopia (green-blind)
#2F436D
Tritanopia (blue-blind)
#722542
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e166f;
/* rgb */ color: rgb(110, 22, 111);
/* oklch */ color: oklch(39.0% 0.158 327.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f99',
    500: '#6e166f',
    950: '#000000',
  },
}
SCSS
$custom: #6e166f;
$custom-light: #9b5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6e166f",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 299.326,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39031,
    "c": 0.15835,
    "h": 327.6
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#6E166F
secondary
#3DA53C
accent
#EA3E40
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E166F

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

Preview Lab → · Contrast checker → · Palette generator →

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