#6E1A71#6E1A71

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

Color values

HEX#6E1A71
RGBrgb(110, 26, 113)
HSLhsl(298, 63%, 27%)
HSVhsv(298, 77%, 44%)
CMYKcmyk(2.7%, 77%, 0%, 55.7%)
CIE-LABlab(27.43, 47.12, -30.92)
CIE-LCHlch(27.43, 56.36, 326.72°)
OKLaboklab(39.49% 0.1299 -0.0859)
OKLCHoklch(39.49% 0.156 326.5)
XYZxyz(9.7803, 5.2467, 16.1172)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A71 #1D711A
analogous
#431A71 #6E1A71 #711A49
triadic
#6E1A71 #716E1A #1A716E
tetradic
#6E1A71 #71431A #1D711A #1A4971
square
#6E1A71 #71431A #1D711A #1A4971
split-complementary
#6E1A71 #49711A #1A7143
monochromatic
#180619 #3E0F3F #6E1A71 #9E25A3 #CB35D0

Accessibility & contrast

On white

10.25
#6E1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6E1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A71
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A71#FFFFFF#000000##FFFFFF
##6E1A711.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#2F446F
Tritanopia (blue-blind)
#712944
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1a71;
/* rgb */ color: rgb(110, 26, 113);
/* oklch */ color: oklch(39.5% 0.156 326.5);
Tailwind
colors: {
  custom: {
    50: '#9b619a',
    500: '#6e1a71',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a71;
$custom-light: #9b619a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a71",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 297.931,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39489,
    "c": 0.15575,
    "h": 326.5
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#6E1A71
secondary
#44A641
accent
#E64248
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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