#6E177D#6E177D

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

Color values

HEX#6E177D
RGBrgb(110, 23, 125)
HSLhsl(291, 69%, 29%)
HSVhsv(291, 82%, 49%)
CMYKcmyk(12%, 81.6%, 0%, 51%)
CIE-LABlab(27.87, 50.35, -37.85)
CIE-LCHlch(27.87, 62.99, 323.07°)
OKLaboklab(40.06% 0.1317 -0.1061)
OKLCHoklch(40.06% 0.169 321.1)
XYZxyz(10.4381, 5.4090, 19.8923)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E177D #267D17
analogous
#3B177D #6E177D #7D1759
triadic
#6E177D #7D6E17 #177D6E
tetradic
#6E177D #7D3B17 #267D17 #17597D
square
#6E177D #7D3B17 #267D17 #17597D
split-complementary
#6E177D #597D17 #177D3B
monochromatic
#17051A #410D49 #6E177D #9B21B1 #C135DA

Accessibility & contrast

On white

10.09
#6E177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E177D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E177D#FFFFFF#000000##FFFFFF
##6E177D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#6F2D4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e177d;
/* rgb */ color: rgb(110, 23, 125);
/* oklch */ color: oklch(40.1% 0.169 321.1);
Tailwind
colors: {
  custom: {
    50: '#9b60a3',
    500: '#6e177d',
    950: '#000000',
  },
}
SCSS
$custom: #6e177d;
$custom-light: #9b60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e177d",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 291.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.16911,
    "h": 321.1
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#6E177D
secondary
#4FB23E
accent
#EC3C56
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E177D

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

Preview Lab → · Contrast checker → · Palette generator →

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