#6E1E8D#6E1E8D

#6E1E8D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.176 H 314.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6E1E8D
RGBrgb(110, 30, 141)
HSLhsl(283, 65%, 34%)
HSVhsv(283, 79%, 55%)
CMYKcmyk(22%, 78.7%, 0%, 44.7%)
CIE-LABlab(29.83, 51.19, -44.69)
CIE-LCHlch(29.83, 67.96, 318.88°)
OKLaboklab(41.8% 0.1232 -0.1262)
OKLCHoklch(41.8% 0.176 314.3)
XYZxyz(11.7016, 6.1670, 25.7681)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E8D #3D8D1E
analogous
#361E8D #6E1E8D #8D1E74
triadic
#6E1E8D #8D6E1E #1E8D6E
tetradic
#6E1E8D #8D361E #3D8D1E #1E748D
square
#6E1E8D #8D361E #3D8D1E #1E748D
split-complementary
#6E1E8D #748D1E #1E8D36
monochromatic
#1F0928 #47135B #6E1E8D #9529BF #B24CD9

Accessibility & contrast

On white

9.40
#6E1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E8D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E8D#FFFFFF#000000##FFFFFF
##6E1E8D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#15488B
Tritanopia (blue-blind)
#6B3855
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1e8d;
/* rgb */ color: rgb(110, 30, 141);
/* oklch */ color: oklch(41.8% 0.176 314.3);
Tailwind
colors: {
  custom: {
    50: '#9c64af',
    500: '#6e1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e8d;
$custom-light: #9c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e8d",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 283.243,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.17636,
    "h": 314.3
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#6E1E8D
secondary
#6BBC4B
accent
#E8406F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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