#6E1788#6E1788

#6E1788 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.179 H 316.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6E1788
RGBrgb(110, 23, 136)
HSLhsl(286, 71%, 31%)
HSVhsv(286, 83%, 53%)
CMYKcmyk(19.1%, 83.1%, 0%, 46.7%)
CIE-LABlab(28.66, 52.49, -43.48)
CIE-LCHlch(28.66, 68.16, 320.37°)
OKLaboklab(40.86% 0.1299 -0.1226)
OKLCHoklch(40.86% 0.179 316.7)
XYZxyz(11.1801, 5.7058, 23.8002)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1788 #318817
analogous
#351788 #6E1788 #881769
triadic
#6E1788 #886E17 #17886E
tetradic
#6E1788 #883517 #318817 #176988
square
#6E1788 #883517 #318817 #176988
split-complementary
#6E1788 #698817 #178835
monochromatic
#19051F #440E54 #6E1788 #9820BC #B93BDE

Accessibility & contrast

On white

9.81
#6E1788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6E1788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1788
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1788#FFFFFF#000000##FFFFFF
##6E17881.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#174686
Tritanopia (blue-blind)
#6C3251
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1788;
/* rgb */ color: rgb(110, 23, 136);
/* oklch */ color: oklch(40.9% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#9c61ab',
    500: '#6e1788',
    950: '#000000',
  },
}
SCSS
$custom: #6e1788;
$custom-light: #9c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1788",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 286.195,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.17865,
    "h": 316.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#6E1788
secondary
#5CBC3F
accent
#EE3A63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1788

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

Preview Lab → · Contrast checker → · Palette generator →

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