#6E177E#6E177E

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

Color values

HEX#6E177E
RGBrgb(110, 23, 126)
HSLhsl(291, 69%, 29%)
HSVhsv(291, 82%, 49%)
CMYKcmyk(12.7%, 81.7%, 0%, 50.6%)
CIE-LABlab(27.94, 50.54, -38.37)
CIE-LCHlch(27.94, 63.45, 322.80°)
OKLaboklab(40.13% 0.1316 -0.1076)
OKLCHoklch(40.13% 0.17 320.7)
XYZxyz(10.5023, 5.4347, 20.2304)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E177E #277E17
analogous
#3B177E #6E177E #7E175B
triadic
#6E177E #7E6E17 #177E6E
tetradic
#6E177E #7E3B17 #277E17 #175B7E
square
#6E177E #7E3B17 #277E17 #175B7E
split-complementary
#6E177E #5B7E17 #177E3B
monochromatic
#17051A #410E4A #6E177E #9B20B2 #C135DA

Accessibility & contrast

On white

10.06
#6E177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E177E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E177E#FFFFFF#000000##FFFFFF
##6E177E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#6F2D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e177e;
/* rgb */ color: rgb(110, 23, 126);
/* oklch */ color: oklch(40.1% 0.170 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b60a4',
    500: '#6e177e',
    950: '#000000',
  },
}
SCSS
$custom: #6e177e;
$custom-light: #9b60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e177e",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 290.68,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40127,
    "c": 0.16997,
    "h": 320.7
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#6E177E
secondary
#50B33E
accent
#EC3C57
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E177E

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

Preview Lab → · Contrast checker → · Palette generator →

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