#6E177B#6E177B

#6E177B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.167 H 322.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6E177B
RGBrgb(110, 23, 123)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 48%)
CMYKcmyk(10.6%, 81.3%, 0%, 51.8%)
CIE-LABlab(27.73, 49.97, -36.80)
CIE-LCHlch(27.73, 62.06, 323.63°)
OKLaboklab(39.92% 0.1319 -0.103)
OKLCHoklch(39.92% 0.167 322)
XYZxyz(10.3116, 5.3585, 19.2262)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E177B #247B17
analogous
#3C177B #6E177B #7B1756
triadic
#6E177B #7B6E17 #177B6E
tetradic
#6E177B #7B3C17 #247B17 #17567B
square
#6E177B #7B3C17 #247B17 #17567B
split-complementary
#6E177B #567B17 #177B3C
monochromatic
#17051A #400D47 #6E177B #9C21AF #C333D9

Accessibility & contrast

On white

10.14
#6E177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6E177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E177B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E177B#FFFFFF#000000##FFFFFF
##6E177B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#6F2C49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e177b;
/* rgb */ color: rgb(110, 23, 123);
/* oklch */ color: oklch(39.9% 0.167 322.0);
Tailwind
colors: {
  custom: {
    50: '#9b60a2',
    500: '#6e177b',
    950: '#000000',
  },
}
SCSS
$custom: #6e177b;
$custom-light: #9b60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e177b",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 292.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39915,
    "c": 0.1674,
    "h": 322
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#6E177B
secondary
#4DB03E
accent
#EB3C53
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E177B

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

Preview Lab → · Contrast checker → · Palette generator →

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