#6E1796#6E1796

#6E1796 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 42.0% C 0.191 H 311.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6E1796
RGBrgb(110, 23, 150)
HSLhsl(281, 73%, 34%)
HSVhsv(281, 85%, 59%)
CMYKcmyk(26.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(29.74, 55.35, -50.39)
CIE-LCHlch(29.74, 74.85, 317.69°)
OKLaboklab(41.96% 0.1267 -0.1429)
OKLCHoklch(41.96% 0.191 311.6)
XYZxyz(12.2408, 6.1301, 29.3867)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1796 #3F9617
analogous
#2F1796 #6E1796 #96177F
triadic
#6E1796 #966E17 #17966E
tetradic
#6E1796 #962F17 #3F9617 #177F96
square
#6E1796 #962F17 #3F9617 #177F96
split-complementary
#6E1796 #7F9617 #17962F
monochromatic
#20072C #470F61 #6E1796 #951FCB #B145E2

Accessibility & contrast

On white

9.43
#6E1796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E1796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1796
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1796#FFFFFF#000000##FFFFFF
##6E17961.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#693959
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1796;
/* rgb */ color: rgb(110, 23, 150);
/* oklch */ color: oklch(42.0% 0.191 311.6);
Tailwind
colors: {
  custom: {
    50: '#9c61b6',
    500: '#6e1796',
    950: '#000000',
  },
}
SCSS
$custom: #6e1796;
$custom-light: #9c61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1796",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 281.102,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.19101,
    "h": 311.6
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#6E1796
secondary
#6DC345
accent
#F03872
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1796

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

Preview Lab → · Contrast checker → · Palette generator →

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