#6E1889#6E1889

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

Color values

HEX#6E1889
RGBrgb(110, 24, 137)
HSLhsl(286, 70%, 32%)
HSVhsv(286, 82%, 54%)
CMYKcmyk(19.7%, 82.5%, 0%, 46.3%)
CIE-LABlab(28.84, 52.39, -43.81)
CIE-LCHlch(28.84, 68.29, 320.09°)
OKLaboklab(41.01% 0.129 -0.1236)
OKLCHoklch(41.01% 0.179 316.2)
XYZxyz(11.2717, 5.7749, 24.1830)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1889 #338918
analogous
#361889 #6E1889 #89186C
triadic
#6E1889 #896E18 #18896E
tetradic
#6E1889 #893618 #338918 #186C89
square
#6E1889 #893618 #338918 #186C89
split-complementary
#6E1889 #6C8918 #188936
monochromatic
#1A0621 #440F55 #6E1889 #9821BD #B73EDD

Accessibility & contrast

On white

9.75
#6E1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1889
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1889#FFFFFF#000000##FFFFFF
##6E18891.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1889;
/* rgb */ color: rgb(110, 24, 137);
/* oklch */ color: oklch(41.0% 0.179 316.2);
Tailwind
colors: {
  custom: {
    50: '#9c61ac',
    500: '#6e1889',
    950: '#000000',
  },
}
SCSS
$custom: #6e1889;
$custom-light: #9c61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1889",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 285.664,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.17863,
    "h": 316.2
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#6E1889
secondary
#5EBD40
accent
#ED3B65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1889

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

Preview Lab → · Contrast checker → · Palette generator →

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