#6E166A#6E166A

#6E166A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.154 H 330.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6E166A
RGBrgb(110, 22, 106)
HSLhsl(303, 67%, 26%)
HSVhsv(303, 80%, 43%)
CMYKcmyk(0%, 80%, 3.6%, 56.9%)
CIE-LABlab(26.54, 47.22, -27.83)
CIE-LCHlch(26.54, 54.81, 329.48°)
OKLaboklab(38.71% 0.1338 -0.0769)
OKLCHoklch(38.71% 0.154 330.1)
XYZxyz(9.3188, 4.9302, 14.0937)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E166A #166E1A
analogous
#46166E #6E166A #6E163E
triadic
#6E166A #6A6E16 #166A6E
tetradic
#6E166A #6E4616 #166E1A #163E6E
square
#6E166A #6E4616 #166E1A #163E6E
split-complementary
#6E166A #3E6E16 #166E46
monochromatic
#1A0519 #3B0C39 #6E166A #A1209B #D42ACC

Accessibility & contrast

On white

10.58
#6E166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6E166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E166A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E166A#FFFFFF#000000##FFFFFF
##6E166A1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09376C
Deuteranopia (green-blind)
#324368
Tritanopia (blue-blind)
#72233F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e166a;
/* rgb */ color: rgb(110, 22, 106);
/* oklch */ color: oklch(38.7% 0.154 330.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f95',
    500: '#6e166a',
    950: '#000000',
  },
}
SCSS
$custom: #6e166a;
$custom-light: #9b5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6e166a",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 302.727,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.15431,
    "h": 330.1
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#6E166A
secondary
#3CA440
accent
#EA463E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E166A

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

Preview Lab → · Contrast checker → · Palette generator →

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