#6E166D#6E166D

#6E166D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.157 H 328.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#6E166D
RGBrgb(110, 22, 109)
HSLhsl(301, 67%, 26%)
HSVhsv(301, 80%, 43%)
CMYKcmyk(0%, 80%, 0.9%, 56.9%)
CIE-LABlab(26.72, 47.73, -29.48)
CIE-LCHlch(26.72, 56.10, 328.30°)
OKLaboklab(38.9% 0.1338 -0.0817)
OKLCHoklch(38.9% 0.157 328.6)
XYZxyz(9.4775, 4.9937, 14.9297)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E166D #166E17
analogous
#43166E #6E166D #6E1641
triadic
#6E166D #6D6E16 #166D6E
tetradic
#6E166D #6E4316 #166E17 #16416E
square
#6E166D #6E4316 #166E17 #16416E
split-complementary
#6E166D #416E16 #166E43
monochromatic
#1A0519 #3B0C3A #6E166D #A120A0 #D42AD2

Accessibility & contrast

On white

10.51
#6E166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E166D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E166D#FFFFFF#000000##FFFFFF
##6E166D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03386F
Deuteranopia (green-blind)
#30436B
Tritanopia (blue-blind)
#722441
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e166d;
/* rgb */ color: rgb(110, 22, 109);
/* oklch */ color: oklch(38.9% 0.157 328.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f97',
    500: '#6e166d',
    950: '#000000',
  },
}
SCSS
$custom: #6e166d;
$custom-light: #9b5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6e166d",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 300.682,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38903,
    "c": 0.15672,
    "h": 328.6
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#6E166D
secondary
#3CA43D
accent
#EA403E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E166D

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

Preview Lab → · Contrast checker → · Palette generator →

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