#6E2687#6E2687

#6E2687 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.161 H 316.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6E2687
RGBrgb(110, 38, 135)
HSLhsl(285, 56%, 34%)
HSVhsv(285, 72%, 53%)
CMYKcmyk(18.5%, 71.9%, 0%, 47.1%)
CIE-LABlab(30.52, 46.74, -39.85)
CIE-LCHlch(30.52, 61.43, 319.55°)
OKLaboklab(42.16% 0.1159 -0.1121)
OKLCHoklch(42.16% 0.161 316)
XYZxyz(11.4960, 6.4509, 23.5566)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2687 #3F8726
analogous
#3E2687 #6E2687 #872670
triadic
#6E2687 #876E26 #26876E
tetradic
#6E2687 #873E26 #3F8726 #267087
square
#6E2687 #873E26 #3F8726 #267087
split-complementary
#6E2687 #708726 #26873E
monochromatic
#200B27 #471957 #6E2687 #9533B7 #B158D0

Accessibility & contrast

On white

9.17
#6E2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2687
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2687#FFFFFF#000000##FFFFFF
##6E26871.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2687;
/* rgb */ color: rgb(110, 38, 135);
/* oklch */ color: oklch(42.2% 0.161 316.0);
Tailwind
colors: {
  custom: {
    50: '#9b67aa',
    500: '#6e2687',
    950: '#000000',
  },
}
SCSS
$custom: #6e2687;
$custom-light: #9b67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2687",
  "rgb": {
    "r": 110,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 284.536,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.16124,
    "h": 316
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#6E2687
secondary
#6DB554
accent
#DF486F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2687

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

Preview Lab → · Contrast checker → · Palette generator →

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