#6E1878#6E1878

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

Color values

HEX#6E1878
RGBrgb(110, 24, 120)
HSLhsl(294, 67%, 28%)
HSVhsv(294, 80%, 47%)
CMYKcmyk(8.3%, 80%, 0%, 52.9%)
CIE-LABlab(27.64, 49.08, -35.05)
CIE-LCHlch(27.64, 60.31, 324.47°)
OKLaboklab(39.79% 0.1314 -0.0979)
OKLCHoklch(39.79% 0.164 323.3)
XYZxyz(10.1469, 5.3250, 18.2590)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1878 #227818
analogous
#3E1878 #6E1878 #781852
triadic
#6E1878 #786E18 #18786E
tetradic
#6E1878 #783E18 #227818 #185278
square
#6E1878 #783E18 #227818 #185278
split-complementary
#6E1878 #527818 #18783E
monochromatic
#17051A #3F0E45 #6E1878 #9D22AB #C534D6

Accessibility & contrast

On white

10.17
#6E1878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1878
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1878#FFFFFF#000000##FFFFFF
##6E18781.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1878;
/* rgb */ color: rgb(110, 24, 120);
/* oklch */ color: oklch(39.8% 0.164 323.3);
Tailwind
colors: {
  custom: {
    50: '#9b609f',
    500: '#6e1878',
    950: '#000000',
  },
}
SCSS
$custom: #6e1878;
$custom-light: #9b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1878",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 293.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.16384,
    "h": 323.3
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#6E1878
secondary
#4AAD3F
accent
#EA3E50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1878

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

Preview Lab → · Contrast checker → · Palette generator →

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