#6E1C8D#6E1C8D

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

Color values

HEX#6E1C8D
RGBrgb(110, 28, 141)
HSLhsl(284, 67%, 33%)
HSVhsv(284, 80%, 55%)
CMYKcmyk(22%, 80.1%, 0%, 44.7%)
CIE-LABlab(29.59, 51.90, -45.09)
CIE-LCHlch(29.59, 68.75, 319.02°)
OKLaboklab(41.63% 0.1249 -0.1274)
OKLCHoklch(41.63% 0.178 314.4)
XYZxyz(11.6526, 6.0690, 25.7518)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C8D #3B8D1C
analogous
#351C8D #6E1C8D #8D1C73
triadic
#6E1C8D #8D6E1C #1C8D6E
tetradic
#6E1C8D #8D351C #3B8D1C #1C738D
square
#6E1C8D #8D351C #3B8D1C #1C738D
split-complementary
#6E1C8D #738D1C #1C8D35
monochromatic
#1E0827 #46125A #6E1C8D #9626C0 #B349DB

Accessibility & contrast

On white

9.49
#6E1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6E1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C8D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C8D#FFFFFF#000000##FFFFFF
##6E1C8D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#6B3754
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1c8d;
/* rgb */ color: rgb(110, 28, 141);
/* oklch */ color: oklch(41.6% 0.178 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c63af',
    500: '#6e1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c8d;
$custom-light: #9c63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c8d",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 283.54,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.1784,
    "h": 314.4
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#6E1C8D
secondary
#68BD48
accent
#EA3E6D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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