#6E176C#6E176C

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

Color values

HEX#6E176C
RGBrgb(110, 23, 108)
HSLhsl(301, 65%, 26%)
HSVhsv(301, 79%, 43%)
CMYKcmyk(0%, 79.1%, 1.8%, 56.9%)
CIE-LABlab(26.77, 47.24, -28.76)
CIE-LCHlch(26.77, 55.31, 328.67°)
OKLaboklab(38.92% 0.1329 -0.0796)
OKLCHoklch(38.92% 0.155 329.1)
XYZxyz(9.4435, 5.0112, 14.6543)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E176C #176E19
analogous
#44176E #6E176C #6E1740
triadic
#6E176C #6C6E17 #176C6E
tetradic
#6E176C #6E4417 #176E19 #17406E
square
#6E176C #6E4417 #176E19 #17406E
split-complementary
#6E176C #406E17 #176E44
monochromatic
#190519 #3B0C3A #6E176C #A1229E #D32CCF

Accessibility & contrast

On white

10.49
#6E176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E176C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E176C#FFFFFF#000000##FFFFFF
##6E176C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#31436A
Tritanopia (blue-blind)
#722441
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e176c;
/* rgb */ color: rgb(110, 23, 108);
/* oklch */ color: oklch(38.9% 0.155 329.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f96',
    500: '#6e176c',
    950: '#000000',
  },
}
SCSS
$custom: #6e176c;
$custom-light: #9b5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e176c",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 301.379,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38919,
    "c": 0.15488,
    "h": 329.1
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#6E176C
secondary
#3DA43F
accent
#E8433F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E176C

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

Preview Lab → · Contrast checker → · Palette generator →

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