#6E166E#6E166E

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

Color values

HEX#6E166E
RGBrgb(110, 22, 110)
HSLhsl(300, 67%, 26%)
HSVhsv(300, 80%, 43%)
CMYKcmyk(0%, 80%, 0%, 56.9%)
CIE-LABlab(26.78, 47.91, -30.03)
CIE-LCHlch(26.78, 56.54, 327.92°)
OKLaboklab(38.97% 0.1337 -0.0833)
OKLCHoklch(38.97% 0.158 328.1)
XYZxyz(9.5317, 5.0153, 15.2149)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E166E #166E16
analogous
#42166E #6E166E #6E1642
triadic
#6E166E #6E6E16 #166E6E
tetradic
#6E166E #6E4216 #166E16 #16426E
square
#6E166E #6E4216 #166E16 #16426E
split-complementary
#6E166E #426E16 #166E42
monochromatic
#1A051A #3B0C3B #6E166E #A120A1 #D42AD4

Accessibility & contrast

On white

10.48
#6E166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6E166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E166E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E166E#FFFFFF#000000##FFFFFF
##6E166E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013870
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#722542
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e166e;
/* rgb */ color: rgb(110, 22, 110);
/* oklch */ color: oklch(39.0% 0.158 328.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f98',
    500: '#6e166e',
    950: '#000000',
  },
}
SCSS
$custom: #6e166e;
$custom-light: #9b5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6e166e",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 300,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38967,
    "c": 0.15754,
    "h": 328.1
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#6E166E
secondary
#3CA43C
accent
#EA3E3E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E166E

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

Preview Lab → · Contrast checker → · Palette generator →

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