#6E1D8D#6E1D8D

#6E1D8D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.177 H 314.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#6E1D8D
RGBrgb(110, 29, 141)
HSLhsl(283, 66%, 33%)
HSVhsv(283, 79%, 55%)
CMYKcmyk(22%, 79.4%, 0%, 44.7%)
CIE-LABlab(29.71, 51.55, -44.89)
CIE-LCHlch(29.71, 68.36, 318.95°)
OKLaboklab(41.72% 0.124 -0.1268)
OKLCHoklch(41.72% 0.177 314.4)
XYZxyz(11.6767, 6.1172, 25.7598)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D8D #3C8D1D
analogous
#361D8D #6E1D8D #8D1D74
triadic
#6E1D8D #8D6E1D #1D8D6E
tetradic
#6E1D8D #8D361D #3C8D1D #1D748D
square
#6E1D8D #8D361D #3C8D1D #1D748D
split-complementary
#6E1D8D #748D1D #1D8D36
monochromatic
#1F0827 #46135A #6E1D8D #9627C0 #B24BDA

Accessibility & contrast

On white

9.44
#6E1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6E1D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D8D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D8D#FFFFFF#000000##FFFFFF
##6E1D8D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1d8d;
/* rgb */ color: rgb(110, 29, 141);
/* oklch */ color: oklch(41.7% 0.177 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c63af',
    500: '#6e1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d8d;
$custom-light: #9c63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d8d",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 283.393,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.1774,
    "h": 314.4
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#6E1D8D
secondary
#69BC4A
accent
#E93F6E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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