#6E166C#6E166C

#6E166C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.156 H 329.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6E166C
RGBrgb(110, 22, 108)
HSLhsl(301, 67%, 26%)
HSVhsv(301, 80%, 43%)
CMYKcmyk(0%, 80%, 1.8%, 56.9%)
CIE-LABlab(26.66, 47.56, -28.93)
CIE-LCHlch(26.66, 55.67, 328.68°)
OKLaboklab(38.84% 0.1338 -0.0801)
OKLCHoklch(38.84% 0.156 329.1)
XYZxyz(9.4240, 4.9722, 14.6478)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E166C #166E18
analogous
#44166E #6E166C #6E1640
triadic
#6E166C #6C6E16 #166C6E
tetradic
#6E166C #6E4416 #166E18 #16406E
square
#6E166C #6E4416 #166E18 #16406E
split-complementary
#6E166C #406E16 #166E44
monochromatic
#1A0519 #3B0C3A #6E166C #A1209E #D42AD0

Accessibility & contrast

On white

10.53
#6E166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E166C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E166C#FFFFFF#000000##FFFFFF
##6E166C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#30436A
Tritanopia (blue-blind)
#722440
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e166c;
/* rgb */ color: rgb(110, 22, 108);
/* oklch */ color: oklch(38.8% 0.156 329.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f96',
    500: '#6e166c',
    950: '#000000',
  },
}
SCSS
$custom: #6e166c;
$custom-light: #9b5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e166c",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 301.364,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.15592,
    "h": 329.1
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#6E166C
secondary
#3CA43E
accent
#EA423E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E166C

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

Preview Lab → · Contrast checker → · Palette generator →

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