#6E2887#6E2887

#6E2887 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.159 H 315.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6E2887
RGBrgb(110, 40, 135)
HSLhsl(284, 54%, 34%)
HSVhsv(284, 70%, 53%)
CMYKcmyk(18.5%, 70.4%, 0%, 47.1%)
CIE-LABlab(30.84, 45.86, -39.35)
CIE-LCHlch(30.84, 60.43, 319.37°)
OKLaboklab(42.38% 0.1137 -0.1106)
OKLCHoklch(42.38% 0.159 315.8)
XYZxyz(11.5617, 6.5823, 23.5785)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2887 #418728
analogous
#3F2887 #6E2887 #872871
triadic
#6E2887 #876E28 #28876E
tetradic
#6E2887 #873F28 #418728 #287187
square
#6E2887 #873F28 #418728 #287187
split-complementary
#6E2887 #718728 #28873F
monochromatic
#210C29 #481A58 #6E2887 #9436B6 #B05BCE

Accessibility & contrast

On white

9.07
#6E2887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E2887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2887
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2887#FFFFFF#000000##FFFFFF
##6E28871.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#6C3B54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2887;
/* rgb */ color: rgb(110, 40, 135);
/* oklch */ color: oklch(42.4% 0.159 315.8);
Tailwind
colors: {
  custom: {
    50: '#9b68aa',
    500: '#6e2887',
    950: '#000000',
  },
}
SCSS
$custom: #6e2887;
$custom-light: #9b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2887",
  "rgb": {
    "r": 110,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 284.211,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.1586,
    "h": 315.8
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#6E2887
secondary
#70B457
accent
#DE4A71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E2887

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

Preview Lab → · Contrast checker → · Palette generator →

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