#6E178E#6E178E

#6E178E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.184 H 314.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6E178E
RGBrgb(110, 23, 142)
HSLhsl(284, 72%, 32%)
HSVhsv(284, 84%, 56%)
CMYKcmyk(22.5%, 83.8%, 0%, 44.3%)
CIE-LABlab(29.11, 53.70, -46.48)
CIE-LCHlch(29.11, 71.02, 319.13°)
OKLaboklab(41.32% 0.1287 -0.1314)
OKLCHoklch(41.32% 0.184 314.4)
XYZxyz(11.6185, 5.8812, 26.1091)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E178E #378E17
analogous
#33178E #6E178E #8E1772
triadic
#6E178E #8E6E17 #178E6E
tetradic
#6E178E #8E3317 #378E17 #17728E
square
#6E178E #8E3317 #378E17 #17728E
split-complementary
#6E178E #728E17 #178E33
monochromatic
#1C0625 #450E59 #6E178E #9720C3 #B53FE0

Accessibility & contrast

On white

9.65
#6E178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E178E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E178E#FFFFFF#000000##FFFFFF
##6E178E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#0A478C
Tritanopia (blue-blind)
#6B3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e178e;
/* rgb */ color: rgb(110, 23, 142);
/* oklch */ color: oklch(41.3% 0.184 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c61b0',
    500: '#6e178e',
    950: '#000000',
  },
}
SCSS
$custom: #6e178e;
$custom-light: #9c61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e178e",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 283.866,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.18392,
    "h": 314.4
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#6E178E
secondary
#63C040
accent
#EF396A
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6E178E

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

Preview Lab → · Contrast checker → · Palette generator →

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