#6E1987#6E1987

#6E1987 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.176 H 316.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#6E1987
RGBrgb(110, 25, 135)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(18.5%, 81.5%, 0%, 47.1%)
CIE-LABlab(28.80, 51.67, -42.63)
CIE-LCHlch(28.80, 66.99, 320.48°)
OKLaboklab(40.94% 0.1285 -0.1201)
OKLCHoklch(40.94% 0.176 316.9)
XYZxyz(11.1506, 5.7600, 23.4414)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1987 #328719
analogous
#371987 #6E1987 #871969
triadic
#6E1987 #876E19 #19876E
tetradic
#6E1987 #873719 #328719 #196987
square
#6E1987 #873719 #328719 #196987
split-complementary
#6E1987 #698719 #198737
monochromatic
#1A0620 #440F53 #6E1987 #9823BB #B83FDB

Accessibility & contrast

On white

9.76
#6E1987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1987
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1987#FFFFFF#000000##FFFFFF
##6E19871.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#6D3350
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1987;
/* rgb */ color: rgb(110, 25, 135);
/* oklch */ color: oklch(40.9% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#9c61ab',
    500: '#6e1987',
    950: '#000000',
  },
}
SCSS
$custom: #6e1987;
$custom-light: #9c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1987",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 286.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.17593,
    "h": 316.9
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#6E1987
secondary
#5DBA41
accent
#EC3C64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1987

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

Preview Lab → · Contrast checker → · Palette generator →

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