#6E1971#6E1971

#6E1971 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.157 H 326.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#6E1971
RGBrgb(110, 25, 113)
HSLhsl(298, 64%, 27%)
HSVhsv(298, 78%, 44%)
CMYKcmyk(2.7%, 77.9%, 0%, 55.7%)
CIE-LABlab(27.31, 47.46, -31.12)
CIE-LCHlch(27.31, 56.75, 326.75°)
OKLaboklab(39.4% 0.1309 -0.0865)
OKLCHoklch(39.4% 0.157 326.5)
XYZxyz(9.7585, 5.2032, 16.1099)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1971 #1C7119
analogous
#421971 #6E1971 #711948
triadic
#6E1971 #716E19 #19716E
tetradic
#6E1971 #714219 #1C7119 #194871
square
#6E1971 #714219 #1C7119 #194871
split-complementary
#6E1971 #487119 #197142
monochromatic
#180619 #3D0E3F #6E1971 #9F24A3 #CC33D2

Accessibility & contrast

On white

10.29
#6E1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6E1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1971
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1971#FFFFFF#000000##FFFFFF
##6E19711.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A73
Deuteranopia (green-blind)
#2F446F
Tritanopia (blue-blind)
#712844
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1971;
/* rgb */ color: rgb(110, 25, 113);
/* oklch */ color: oklch(39.4% 0.157 326.5);
Tailwind
colors: {
  custom: {
    50: '#9b609a',
    500: '#6e1971',
    950: '#000000',
  },
}
SCSS
$custom: #6e1971;
$custom-light: #9b609a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1971",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 297.955,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.15685,
    "h": 326.5
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#6E1971
secondary
#43A640
accent
#E74147
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1971

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

Preview Lab → · Contrast checker → · Palette generator →

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