#6E1886#6E1886

#6E1886 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.176 H 317.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#6E1886
RGBrgb(110, 24, 134)
HSLhsl(287, 70%, 31%)
HSVhsv(287, 82%, 53%)
CMYKcmyk(17.9%, 82.1%, 0%, 47.5%)
CIE-LABlab(28.62, 51.79, -42.30)
CIE-LCHlch(28.62, 66.87, 320.76°)
OKLaboklab(40.78% 0.1295 -0.1192)
OKLCHoklch(40.78% 0.176 317.4)
XYZxyz(11.0595, 5.6900, 23.0654)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1886 #308618
analogous
#371886 #6E1886 #861867
triadic
#6E1886 #866E18 #18866E
tetradic
#6E1886 #863718 #308618 #186786
square
#6E1886 #863718 #308618 #186786
split-complementary
#6E1886 #678618 #188637
monochromatic
#19051E #430F52 #6E1886 #9921BA #B93CDC

Accessibility & contrast

On white

9.82
#6E1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1886
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1886#FFFFFF#000000##FFFFFF
##6E18861.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1886;
/* rgb */ color: rgb(110, 24, 134);
/* oklch */ color: oklch(40.8% 0.176 317.4);
Tailwind
colors: {
  custom: {
    50: '#9c61aa',
    500: '#6e1886',
    950: '#000000',
  },
}
SCSS
$custom: #6e1886;
$custom-light: #9c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1886",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 286.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.17599,
    "h": 317.4
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#6E1886
secondary
#5BBA40
accent
#EC3B62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1886

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

Preview Lab → · Contrast checker → · Palette generator →

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