#6E1C88#6E1C88

#6E1C88 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.174 H 316.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6E1C88
RGBrgb(110, 28, 136)
HSLhsl(286, 66%, 32%)
HSVhsv(286, 79%, 53%)
CMYKcmyk(19.1%, 79.4%, 0%, 46.7%)
CIE-LABlab(29.22, 50.87, -42.57)
CIE-LCHlch(29.22, 66.33, 320.07°)
OKLaboklab(41.26% 0.1258 -0.12)
OKLCHoklch(41.26% 0.174 316.3)
XYZxyz(11.2889, 5.9235, 23.8365)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C88 #36881C
analogous
#381C88 #6E1C88 #881C6C
triadic
#6E1C88 #886E1C #1C886E
tetradic
#6E1C88 #88381C #36881C #1C6C88
square
#6E1C88 #88381C #36881C #1C6C88
split-complementary
#6E1C88 #6C881C #1C8838
monochromatic
#1C0722 #451255 #6E1C88 #9726BB #B546D9

Accessibility & contrast

On white

9.61
#6E1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E1C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C88
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C88#FFFFFF#000000##FFFFFF
##6E1C881.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#6C3452
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1c88;
/* rgb */ color: rgb(110, 28, 136);
/* oklch */ color: oklch(41.3% 0.174 316.3);
Tailwind
colors: {
  custom: {
    50: '#9b63ab',
    500: '#6e1c88',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c88;
$custom-light: #9b63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c88",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 285.556,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.17385,
    "h": 316.3
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#6E1C88
secondary
#62BA45
accent
#E93F68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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