#6E1879#6E1879

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

Color values

HEX#6E1879
RGBrgb(110, 24, 121)
HSLhsl(293, 67%, 28%)
HSVhsv(293, 80%, 47%)
CMYKcmyk(9.1%, 80.2%, 0%, 52.5%)
CIE-LABlab(27.71, 49.27, -35.57)
CIE-LCHlch(27.71, 60.77, 324.17°)
OKLaboklab(39.85% 0.1313 -0.0995)
OKLCHoklch(39.85% 0.165 322.8)
XYZxyz(10.2079, 5.3494, 18.5803)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1879 #237918
analogous
#3D1879 #6E1879 #791853
triadic
#6E1879 #796E18 #18796E
tetradic
#6E1879 #793D18 #237918 #185379
square
#6E1879 #793D18 #237918 #185379
split-complementary
#6E1879 #537918 #18793D
monochromatic
#17051A #400E46 #6E1879 #9C22AC #C435D7

Accessibility & contrast

On white

10.15
#6E1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1879
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1879#FFFFFF#000000##FFFFFF
##6E18791.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1879;
/* rgb */ color: rgb(110, 24, 121);
/* oklch */ color: oklch(39.9% 0.165 322.8);
Tailwind
colors: {
  custom: {
    50: '#9b60a0',
    500: '#6e1879',
    950: '#000000',
  },
}
SCSS
$custom: #6e1879;
$custom-light: #9b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1879",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 293.196,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.1647,
    "h": 322.8
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#6E1879
secondary
#4CAE3F
accent
#EA3E51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6E1879

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

Preview Lab → · Contrast checker → · Palette generator →

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