#6E2787#6E2787

#6E2787 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.160 H 315.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6E2787
RGBrgb(110, 39, 135)
HSLhsl(284, 55%, 34%)
HSVhsv(284, 71%, 53%)
CMYKcmyk(18.5%, 71.1%, 0%, 47.1%)
CIE-LABlab(30.68, 46.30, -39.60)
CIE-LCHlch(30.68, 60.93, 319.46°)
OKLaboklab(42.27% 0.1148 -0.1114)
OKLCHoklch(42.27% 0.16 315.9)
XYZxyz(11.5284, 6.5157, 23.5674)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2787 #408727
analogous
#3E2787 #6E2787 #872770
triadic
#6E2787 #876E27 #27876E
tetradic
#6E2787 #873E27 #408727 #277087
square
#6E2787 #873E27 #408727 #277087
split-complementary
#6E2787 #708727 #27873E
monochromatic
#210C28 #471958 #6E2787 #9535B6 #B059CF

Accessibility & contrast

On white

9.12
#6E2787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6E2787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2787
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2787#FFFFFF#000000##FFFFFF
##6E27871.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#6C3A54
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e2787;
/* rgb */ color: rgb(110, 39, 135);
/* oklch */ color: oklch(42.3% 0.160 315.9);
Tailwind
colors: {
  custom: {
    50: '#9b68aa',
    500: '#6e2787',
    950: '#000000',
  },
}
SCSS
$custom: #6e2787;
$custom-light: #9b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2787",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 284.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.15994,
    "h": 315.9
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#6E2787
secondary
#6EB456
accent
#DF4970
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2787

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

Preview Lab → · Contrast checker → · Palette generator →

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