#6E1371#6E1371

#6E1371 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.163 H 326.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6E1371
RGBrgb(110, 19, 113)
HSLhsl(298, 71%, 26%)
HSVhsv(298, 83%, 44%)
CMYKcmyk(2.7%, 83.2%, 0%, 55.7%)
CIE-LABlab(26.66, 49.33, -32.15)
CIE-LCHlch(26.66, 58.88, 326.91°)
OKLaboklab(38.94% 0.1361 -0.0894)
OKLCHoklch(38.94% 0.163 326.7)
XYZxyz(9.6437, 4.9737, 16.0717)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1371 #167113
analogous
#3F1371 #6E1371 #711345
triadic
#6E1371 #716E13 #13716E
tetradic
#6E1371 #713F13 #167113 #134571
square
#6E1371 #713F13 #167113 #134571
split-complementary
#6E1371 #457113 #13713F
monochromatic
#19041A #3B0A3D #6E1371 #A11CA5 #D425DA

Accessibility & contrast

On white

10.53
#6E1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6E1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1371
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1371#FFFFFF#000000##FFFFFF
##6E13711.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2C436F
Tritanopia (blue-blind)
#712543
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1371;
/* rgb */ color: rgb(110, 19, 113);
/* oklch */ color: oklch(38.9% 0.163 326.7);
Tailwind
colors: {
  custom: {
    50: '#9b5e9a',
    500: '#6e1371',
    950: '#000000',
  },
}
SCSS
$custom: #6e1371;
$custom-light: #9b5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1371",
  "rgb": {
    "r": 110,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 298.085,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.16284,
    "h": 326.7
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#6E1371
secondary
#3CA838
accent
#EE3A40
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6E1371

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

Preview Lab → · Contrast checker → · Palette generator →

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