#6E176B#6E176B

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

Color values

HEX#6E176B
RGBrgb(110, 23, 107)
HSLhsl(302, 65%, 26%)
HSVhsv(302, 79%, 43%)
CMYKcmyk(0%, 79.1%, 2.7%, 56.9%)
CIE-LABlab(26.71, 47.07, -28.21)
CIE-LCHlch(26.71, 54.87, 329.06°)
OKLaboklab(38.86% 0.1329 -0.078)
OKLCHoklch(38.86% 0.154 329.6)
XYZxyz(9.3906, 4.9901, 14.3757)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E176B #176E1A
analogous
#45176E #6E176B #6E173F
triadic
#6E176B #6B6E17 #176B6E
tetradic
#6E176B #6E4517 #176E1A #173F6E
square
#6E176B #6E4517 #176E1A #173F6E
split-complementary
#6E176B #3F6E17 #176E45
monochromatic
#190519 #3B0C3A #6E176B #A1229C #D32CCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E176B#FFFFFF#000000##FFFFFF
##6E176B1.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)
#09386D
Deuteranopia (green-blind)
#314369
Tritanopia (blue-blind)
#722440
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e176b;
/* rgb */ color: rgb(110, 23, 107);
/* oklch */ color: oklch(38.9% 0.154 329.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f96',
    500: '#6e176b',
    950: '#000000',
  },
}
SCSS
$custom: #6e176b;
$custom-light: #9b5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e176b",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 302.069,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.15406,
    "h": 329.6
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#6E176B
secondary
#3DA440
accent
#E8453F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E176B

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

Preview Lab → · Contrast checker → · Palette generator →

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