#6E1988#6E1988

#6E1988 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.177 H 316.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6E1988
RGBrgb(110, 25, 136)
HSLhsl(286, 69%, 32%)
HSVhsv(286, 82%, 53%)
CMYKcmyk(19.1%, 81.6%, 0%, 46.7%)
CIE-LABlab(28.87, 51.87, -43.13)
CIE-LCHlch(28.87, 67.46, 320.25°)
OKLaboklab(41.01% 0.1283 -0.1216)
OKLCHoklch(41.01% 0.177 316.5)
XYZxyz(11.2213, 5.7883, 23.8139)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1988 #338819
analogous
#371988 #6E1988 #88196B
triadic
#6E1988 #886E19 #19886E
tetradic
#6E1988 #883719 #338819 #196B88
square
#6E1988 #883719 #338819 #196B88
split-complementary
#6E1988 #6B8819 #198837
monochromatic
#1A0621 #440F54 #6E1988 #9823BC #B740DC

Accessibility & contrast

On white

9.73
#6E1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1988
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1988#FFFFFF#000000##FFFFFF
##6E19881.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#194686
Tritanopia (blue-blind)
#6C3351
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1988;
/* rgb */ color: rgb(110, 25, 136);
/* oklch */ color: oklch(41.0% 0.177 316.5);
Tailwind
colors: {
  custom: {
    50: '#9c61ab',
    500: '#6e1988',
    950: '#000000',
  },
}
SCSS
$custom: #6e1988;
$custom-light: #9c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1988",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 285.946,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41011,
    "c": 0.17681,
    "h": 316.5
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#6E1988
secondary
#5EBB41
accent
#EC3C65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1988

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

Preview Lab → · Contrast checker → · Palette generator →

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