#6E1C71#6E1C71

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

Color values

HEX#6E1C71
RGBrgb(110, 28, 113)
HSLhsl(298, 60%, 28%)
HSVhsv(298, 75%, 44%)
CMYKcmyk(2.7%, 75.2%, 0%, 55.7%)
CIE-LABlab(27.68, 46.40, -30.52)
CIE-LCHlch(27.68, 55.54, 326.66°)
OKLaboklab(39.67% 0.1279 -0.0848)
OKLCHoklch(39.67% 0.153 326.5)
XYZxyz(9.8261, 5.3384, 16.1325)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C71 #1F711C
analogous
#431C71 #6E1C71 #711C4A
triadic
#6E1C71 #716E1C #1C716E
tetradic
#6E1C71 #71431C #1F711C #1C4A71
square
#6E1C71 #71431C #1F711C #1C4A71
split-complementary
#6E1C71 #4A711C #1C7143
monochromatic
#180619 #3E1040 #6E1C71 #9E28A2 #C939CE

Accessibility & contrast

On white

10.16
#6E1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6E1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C71
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C71#FFFFFF#000000##FFFFFF
##6E1C711.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B73
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#712A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1c71;
/* rgb */ color: rgb(110, 28, 113);
/* oklch */ color: oklch(39.7% 0.153 326.5);
Tailwind
colors: {
  custom: {
    50: '#9b619a',
    500: '#6e1c71',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c71;
$custom-light: #9b619a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c71",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 297.882,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.15344,
    "h": 326.5
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#6E1C71
secondary
#47A643
accent
#E3444A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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