#6E176D#6E176D

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

Color values

HEX#6E176D
RGBrgb(110, 23, 109)
HSLhsl(301, 65%, 26%)
HSVhsv(301, 79%, 43%)
CMYKcmyk(0%, 79.1%, 0.9%, 56.9%)
CIE-LABlab(26.83, 47.42, -29.31)
CIE-LCHlch(26.83, 55.74, 328.28°)
OKLaboklab(38.98% 0.1328 -0.0812)
OKLCHoklch(38.98% 0.156 328.6)
XYZxyz(9.4970, 5.0326, 14.9362)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E176D #176E18
analogous
#43176E #6E176D #6E1741
triadic
#6E176D #6D6E17 #176D6E
tetradic
#6E176D #6E4317 #176E18 #17416E
square
#6E176D #6E4317 #176E18 #17416E
split-complementary
#6E176D #416E17 #176E43
monochromatic
#190519 #3B0C3B #6E176D #A1229F #D32CD1

Accessibility & contrast

On white

10.47
#6E176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6E176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E176D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E176D#FFFFFF#000000##FFFFFF
##6E176D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e176d;
/* rgb */ color: rgb(110, 23, 109);
/* oklch */ color: oklch(39.0% 0.156 328.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f97',
    500: '#6e176d',
    950: '#000000',
  },
}
SCSS
$custom: #6e176d;
$custom-light: #9b5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6e176d",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 300.69,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.15568,
    "h": 328.6
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#6E176D
secondary
#3DA43E
accent
#E8413F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E176D

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

Preview Lab → · Contrast checker → · Palette generator →

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