#6E1C8A#6E1C8A

#6E1C8A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.176 H 315.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6E1C8A
RGBrgb(110, 28, 138)
HSLhsl(285, 66%, 33%)
HSVhsv(285, 80%, 54%)
CMYKcmyk(20.3%, 79.7%, 0%, 45.9%)
CIE-LABlab(29.36, 51.28, -43.58)
CIE-LCHlch(29.36, 67.30, 319.64°)
OKLaboklab(41.4% 0.1255 -0.123)
OKLCHoklch(41.4% 0.176 315.6)
XYZxyz(11.4324, 5.9809, 24.5921)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C8A #388A1C
analogous
#371C8A #6E1C8A #8A1C6F
triadic
#6E1C8A #8A6E1C #1C8A6E
tetradic
#6E1C8A #8A371C #388A1C #1C6F8A
square
#6E1C8A #8A371C #388A1C #1C6F8A
split-complementary
#6E1C8A #6F8A1C #1C8A37
monochromatic
#1D0724 #451257 #6E1C8A #9726BD #B447DA

Accessibility & contrast

On white

9.56
#6E1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C8A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C8A#FFFFFF#000000##FFFFFF
##6E1C8A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#184788
Tritanopia (blue-blind)
#6C3553
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1c8a;
/* rgb */ color: rgb(110, 28, 138);
/* oklch */ color: oklch(41.4% 0.176 315.6);
Tailwind
colors: {
  custom: {
    50: '#9c63ad',
    500: '#6e1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c8a;
$custom-light: #9c63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c8a",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 284.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.17567,
    "h": 315.6
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#6E1C8A
secondary
#64BB46
accent
#E93F6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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