#6E1778#6E1778

#6E1778 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.165 H 323.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#6E1778
RGBrgb(110, 23, 120)
HSLhsl(294, 68%, 28%)
HSVhsv(294, 81%, 47%)
CMYKcmyk(8.3%, 80.8%, 0%, 52.9%)
CIE-LABlab(27.53, 49.40, -35.22)
CIE-LCHlch(27.53, 60.68, 324.51°)
OKLaboklab(39.71% 0.1322 -0.0984)
OKLCHoklch(39.71% 0.165 323.3)
XYZxyz(10.1267, 5.2845, 18.2523)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1778 #217817
analogous
#3D1778 #6E1778 #781752
triadic
#6E1778 #786E17 #17786E
tetradic
#6E1778 #783D17 #217817 #175278
square
#6E1778 #783D17 #217817 #175278
split-complementary
#6E1778 #527817 #17783D
monochromatic
#18051A #3F0D45 #6E1778 #9D21AB #C732D8

Accessibility & contrast

On white

10.21
#6E1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1778
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1778#FFFFFF#000000##FFFFFF
##6E17781.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#294476
Tritanopia (blue-blind)
#702A47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1778;
/* rgb */ color: rgb(110, 23, 120);
/* oklch */ color: oklch(39.7% 0.165 323.3);
Tailwind
colors: {
  custom: {
    50: '#9b609f',
    500: '#6e1778',
    950: '#000000',
  },
}
SCSS
$custom: #6e1778;
$custom-light: #9b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1778",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 293.814,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.16484,
    "h": 323.3
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#6E1778
secondary
#49AD3E
accent
#EB3D4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6E1778

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

Preview Lab → · Contrast checker → · Palette generator →

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