#6E1786#6E1786

#6E1786 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.177 H 317.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#6E1786
RGBrgb(110, 23, 134)
HSLhsl(287, 71%, 31%)
HSVhsv(287, 83%, 53%)
CMYKcmyk(17.9%, 82.8%, 0%, 47.5%)
CIE-LABlab(28.51, 52.10, -42.47)
CIE-LCHlch(28.51, 67.21, 320.81°)
OKLaboklab(40.71% 0.1303 -0.1197)
OKLCHoklch(40.71% 0.177 317.4)
XYZxyz(11.0392, 5.6495, 23.0586)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1786 #2F8617
analogous
#361786 #6E1786 #861766
triadic
#6E1786 #866E17 #17866E
tetradic
#6E1786 #863617 #2F8617 #176686
square
#6E1786 #863617 #2F8617 #176686
split-complementary
#6E1786 #668617 #178636
monochromatic
#18051E #430E52 #6E1786 #9920BA #BA3ADD

Accessibility & contrast

On white

9.86
#6E1786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E1786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1786
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1786#FFFFFF#000000##FFFFFF
##6E17861.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#6D314F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1786;
/* rgb */ color: rgb(110, 23, 134);
/* oklch */ color: oklch(40.7% 0.177 317.4);
Tailwind
colors: {
  custom: {
    50: '#9c61aa',
    500: '#6e1786',
    950: '#000000',
  },
}
SCSS
$custom: #6e1786;
$custom-light: #9c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1786",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 287.027,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.17691,
    "h": 317.4
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#6E1786
secondary
#59BA3F
accent
#ED3A61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1786

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

Preview Lab → · Contrast checker → · Palette generator →

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