#6E176E#6E176E

#6E176E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.157 H 328.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6E176E
RGBrgb(110, 23, 110)
HSLhsl(300, 65%, 26%)
HSVhsv(300, 79%, 43%)
CMYKcmyk(0%, 79.1%, 0%, 56.9%)
CIE-LABlab(26.89, 47.59, -29.85)
CIE-LCHlch(26.89, 56.18, 327.90°)
OKLaboklab(39.05% 0.1328 -0.0828)
OKLCHoklch(39.05% 0.157 328.1)
XYZxyz(9.5512, 5.0543, 15.2213)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E176E #176E17
analogous
#42176E #6E176E #6E1742
triadic
#6E176E #6E6E17 #176E6E
tetradic
#6E176E #6E4217 #176E17 #17426E
square
#6E176E #6E4217 #176E17 #17426E
split-complementary
#6E176E #426E17 #176E42
monochromatic
#190519 #3B0C3B #6E176E #A122A1 #D32CD3

Accessibility & contrast

On white

10.44
#6E176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E176E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E176E#FFFFFF#000000##FFFFFF
##6E176E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#30436C
Tritanopia (blue-blind)
#722542
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e176e;
/* rgb */ color: rgb(110, 23, 110);
/* oklch */ color: oklch(39.0% 0.157 328.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f98',
    500: '#6e176e',
    950: '#000000',
  },
}
SCSS
$custom: #6e176e;
$custom-light: #9b5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6e176e",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 300,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.15651,
    "h": 328.1
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#6E176E
secondary
#3DA43D
accent
#E83F3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E176E

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

Preview Lab → · Contrast checker → · Palette generator →

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