#6E1E87#6E1E87

#6E1E87 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 316.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6E1E87
RGBrgb(110, 30, 135)
HSLhsl(286, 64%, 32%)
HSVhsv(286, 78%, 53%)
CMYKcmyk(18.5%, 77.8%, 0%, 47.1%)
CIE-LABlab(29.40, 49.95, -41.67)
CIE-LCHlch(29.40, 65.05, 320.17°)
OKLaboklab(41.36% 0.1241 -0.1174)
OKLCHoklch(41.36% 0.171 316.6)
XYZxyz(11.2672, 5.9933, 23.4803)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E87 #37871E
analogous
#391E87 #6E1E87 #871E6C
triadic
#6E1E87 #876E1E #1E876E
tetradic
#6E1E87 #87391E #37871E #1E6C87
square
#6E1E87 #87391E #37871E #1E6C87
split-complementary
#6E1E87 #6C871E #1E8739
monochromatic
#1C0823 #451355 #6E1E87 #9729B9 #B549D7

Accessibility & contrast

On white

9.55
#6E1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E87
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E87#FFFFFF#000000##FFFFFF
##6E1E871.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#6D3552
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1e87;
/* rgb */ color: rgb(110, 30, 135);
/* oklch */ color: oklch(41.4% 0.171 316.6);
Tailwind
colors: {
  custom: {
    50: '#9b63ab',
    500: '#6e1e87',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e87;
$custom-light: #9b63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e87",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 285.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.17081,
    "h": 316.6
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#6E1E87
secondary
#63B948
accent
#E74169
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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