#6E1671#6E1671

#6E1671 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.160 H 326.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#6E1671
RGBrgb(110, 22, 113)
HSLhsl(298, 67%, 26%)
HSVhsv(298, 81%, 44%)
CMYKcmyk(2.7%, 80.5%, 0%, 55.7%)
CIE-LABlab(26.97, 48.44, -31.66)
CIE-LCHlch(26.97, 57.87, 326.83°)
OKLaboklab(39.16% 0.1336 -0.088)
OKLCHoklch(39.16% 0.16 326.6)
XYZxyz(9.6978, 5.0818, 16.0897)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1671 #197116
analogous
#411671 #6E1671 #711647
triadic
#6E1671 #716E16 #16716E
tetradic
#6E1671 #714116 #197116 #164771
square
#6E1671 #714116 #197116 #164771
split-complementary
#6E1671 #477116 #167141
monochromatic
#19051A #3C0C3E #6E1671 #A020A4 #D02CD6

Accessibility & contrast

On white

10.42
#6E1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6E1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1671
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1671#FFFFFF#000000##FFFFFF
##6E16711.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#2D436F
Tritanopia (blue-blind)
#712643
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1671;
/* rgb */ color: rgb(110, 22, 113);
/* oklch */ color: oklch(39.2% 0.160 326.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f9a',
    500: '#6e1671',
    950: '#000000',
  },
}
SCSS
$custom: #6e1671;
$custom-light: #9b5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1671",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 298.022,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.15999,
    "h": 326.6
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#6E1671
secondary
#3FA73C
accent
#EA3E43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1671

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

Preview Lab → · Contrast checker → · Palette generator →

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