#6E1171#6E1171

#6E1171 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.165 H 326.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#6E1171
RGBrgb(110, 17, 113)
HSLhsl(298, 74%, 25%)
HSVhsv(298, 85%, 44%)
CMYKcmyk(2.7%, 85%, 0%, 55.7%)
CIE-LABlab(26.47, 49.87, -32.44)
CIE-LCHlch(26.47, 59.49, 326.95°)
OKLaboklab(38.81% 0.1376 -0.0903)
OKLCHoklch(38.81% 0.165 326.7)
XYZxyz(9.6113, 4.9088, 16.0609)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1171 #147111
analogous
#3E1171 #6E1171 #711144
triadic
#6E1171 #716E11 #11716E
tetradic
#6E1171 #713E11 #147111 #114471
square
#6E1171 #713E11 #147111 #114471
split-complementary
#6E1171 #447111 #11713E
monochromatic
#1A041B #3A093C #6E1171 #A219A6 #D621DB

Accessibility & contrast

On white

10.60
#6E1171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6E1171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1171
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1171#FFFFFF#000000##FFFFFF
##6E11711.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#2B426F
Tritanopia (blue-blind)
#712442
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1171;
/* rgb */ color: rgb(110, 17, 113);
/* oklch */ color: oklch(38.8% 0.165 326.7);
Tailwind
colors: {
  custom: {
    50: '#9b5d9a',
    500: '#6e1171',
    950: '#000000',
  },
}
SCSS
$custom: #6e1171;
$custom-light: #9b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1171",
  "rgb": {
    "r": 110,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 298.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38811,
    "c": 0.16457,
    "h": 326.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#6E1171
secondary
#39A836
accent
#F1373D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1171

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

Preview Lab → · Contrast checker → · Palette generator →

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