#6E167E#6E167E

#6E167E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.171 H 320.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#6E167E
RGBrgb(110, 22, 126)
HSLhsl(291, 70%, 29%)
HSVhsv(291, 83%, 49%)
CMYKcmyk(12.7%, 82.5%, 0%, 50.6%)
CIE-LABlab(27.83, 50.84, -38.54)
CIE-LCHlch(27.83, 63.80, 322.84°)
OKLaboklab(40.05% 0.1324 -0.1081)
OKLCHoklch(40.05% 0.171 320.8)
XYZxyz(10.4828, 5.3958, 20.2239)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E167E #267E16
analogous
#3A167E #6E167E #7E165A
triadic
#6E167E #7E6E16 #167E6E
tetradic
#6E167E #7E3A16 #267E16 #165A7E
square
#6E167E #7E3A16 #267E16 #165A7E
split-complementary
#6E167E #5A7E16 #167E3A
monochromatic
#17051A #410D4A #6E167E #9B1FB2 #C133DB

Accessibility & contrast

On white

10.10
#6E167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6E167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E167E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E167E#FFFFFF#000000##FFFFFF
##6E167E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#6F2D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e167e;
/* rgb */ color: rgb(110, 22, 126);
/* oklch */ color: oklch(40.1% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#9b60a4',
    500: '#6e167e',
    950: '#000000',
  },
}
SCSS
$custom: #6e167e;
$custom-light: #9b60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e167e",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 290.769,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.17091,
    "h": 320.8
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#6E167E
secondary
#4FB33D
accent
#ED3B56
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E167E

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

Preview Lab → · Contrast checker → · Palette generator →

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