#6E1978#6E1978

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

Color values

HEX#6E1978
RGBrgb(110, 25, 120)
HSLhsl(294, 66%, 28%)
HSVhsv(294, 79%, 47%)
CMYKcmyk(8.3%, 79.2%, 0%, 52.9%)
CIE-LABlab(27.76, 48.76, -34.86)
CIE-LCHlch(27.76, 59.94, 324.43°)
OKLaboklab(39.87% 0.1305 -0.0974)
OKLCHoklch(39.87% 0.163 323.3)
XYZxyz(10.1679, 5.3669, 18.2660)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1978 #237819
analogous
#3E1978 #6E1978 #781952
triadic
#6E1978 #786E19 #19786E
tetradic
#6E1978 #783E19 #237819 #195278
square
#6E1978 #783E19 #237819 #195278
split-complementary
#6E1978 #527819 #19783E
monochromatic
#170519 #400E45 #6E1978 #9C24AB #C436D5

Accessibility & contrast

On white

10.13
#6E1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1978
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1978#FFFFFF#000000##FFFFFF
##6E19781.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#2A4576
Tritanopia (blue-blind)
#702B48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1978;
/* rgb */ color: rgb(110, 25, 120);
/* oklch */ color: oklch(39.9% 0.163 323.3);
Tailwind
colors: {
  custom: {
    50: '#9b619f',
    500: '#6e1978',
    950: '#000000',
  },
}
SCSS
$custom: #6e1978;
$custom-light: #9b619f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1978",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 293.684,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39867,
    "c": 0.16281,
    "h": 323.3
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#6E1978
secondary
#4CAD40
accent
#E83F51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1978

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

Preview Lab → · Contrast checker → · Palette generator →

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