#6E166B#6E166B

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

Color values

HEX#6E166B
RGBrgb(110, 22, 107)
HSLhsl(302, 67%, 26%)
HSVhsv(302, 80%, 43%)
CMYKcmyk(0%, 80%, 2.7%, 56.9%)
CIE-LABlab(26.59, 47.39, -28.39)
CIE-LCHlch(26.59, 55.24, 329.08°)
OKLaboklab(38.78% 0.1338 -0.0785)
OKLCHoklch(38.78% 0.155 329.6)
XYZxyz(9.3711, 4.9511, 14.3692)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E166B #166E19
analogous
#45166E #6E166B #6E163F
triadic
#6E166B #6B6E16 #166B6E
tetradic
#6E166B #6E4516 #166E19 #163F6E
square
#6E166B #6E4516 #166E19 #163F6E
split-complementary
#6E166B #3F6E16 #166E45
monochromatic
#1A0519 #3B0C39 #6E166B #A1209D #D42ACE

Accessibility & contrast

On white

10.55
#6E166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E166B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E166B#FFFFFF#000000##FFFFFF
##6E166B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376D
Deuteranopia (green-blind)
#314369
Tritanopia (blue-blind)
#722340
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e166b;
/* rgb */ color: rgb(110, 22, 107);
/* oklch */ color: oklch(38.8% 0.155 329.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f96',
    500: '#6e166b',
    950: '#000000',
  },
}
SCSS
$custom: #6e166b;
$custom-light: #9b5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e166b",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 302.045,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.15511,
    "h": 329.6
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#6E166B
secondary
#3CA43F
accent
#EA443E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E166B

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

Preview Lab → · Contrast checker → · Palette generator →

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