#6E1986#6E1986

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

Color values

HEX#6E1986
RGBrgb(110, 25, 134)
HSLhsl(287, 69%, 31%)
HSVhsv(287, 81%, 53%)
CMYKcmyk(17.9%, 81.3%, 0%, 47.5%)
CIE-LABlab(28.73, 51.47, -42.12)
CIE-LCHlch(28.73, 66.51, 320.70°)
OKLaboklab(40.86% 0.1287 -0.1187)
OKLCHoklch(40.86% 0.175 317.3)
XYZxyz(11.0805, 5.7320, 23.0724)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1986 #318619
analogous
#371986 #6E1986 #861967
triadic
#6E1986 #866E19 #19866E
tetradic
#6E1986 #863719 #318619 #196786
square
#6E1986 #863719 #318619 #196786
split-complementary
#6E1986 #678619 #198637
monochromatic
#19061F #440F52 #6E1986 #9823BA #B93EDB

Accessibility & contrast

On white

9.78
#6E1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1986
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1986#FFFFFF#000000##FFFFFF
##6E19861.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1C4684
Tritanopia (blue-blind)
#6D3250
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1986;
/* rgb */ color: rgb(110, 25, 134);
/* oklch */ color: oklch(40.9% 0.175 317.3);
Tailwind
colors: {
  custom: {
    50: '#9b61aa',
    500: '#6e1986',
    950: '#000000',
  },
}
SCSS
$custom: #6e1986;
$custom-light: #9b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1986",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 286.789,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.17504,
    "h": 317.3
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#6E1986
secondary
#5CBA41
accent
#EB3C63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1986

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

Preview Lab → · Contrast checker → · Palette generator →

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