#6E1877#6E1877

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

Color values

HEX#6E1877
RGBrgb(110, 24, 119)
HSLhsl(294, 66%, 28%)
HSVhsv(294, 80%, 47%)
CMYKcmyk(7.6%, 79.8%, 0%, 53.3%)
CIE-LABlab(27.58, 48.90, -34.52)
CIE-LCHlch(27.58, 59.85, 324.78°)
OKLaboklab(39.72% 0.1315 -0.0964)
OKLCHoklch(39.72% 0.163 323.8)
XYZxyz(10.0865, 5.3008, 17.9411)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1877 #217718
analogous
#3E1877 #6E1877 #771850
triadic
#6E1877 #776E18 #18776E
tetradic
#6E1877 #773E18 #217718 #185077
square
#6E1877 #773E18 #217718 #185077
split-complementary
#6E1877 #507718 #18773E
monochromatic
#180519 #3F0E44 #6E1877 #9D22AA #C733D6

Accessibility & contrast

On white

10.19
#6E1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1877
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1877#FFFFFF#000000##FFFFFF
##6E18771.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#2A4475
Tritanopia (blue-blind)
#702A47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1877;
/* rgb */ color: rgb(110, 24, 119);
/* oklch */ color: oklch(39.7% 0.163 323.8);
Tailwind
colors: {
  custom: {
    50: '#9b609f',
    500: '#6e1877',
    950: '#000000',
  },
}
SCSS
$custom: #6e1877;
$custom-light: #9b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1877",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 294.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.16299,
    "h": 323.8
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#6E1877
secondary
#49AC3F
accent
#E93E4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1877

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

Preview Lab → · Contrast checker → · Palette generator →

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