#6E1794#6E1794

#6E1794 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 312.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6E1794
RGBrgb(110, 23, 148)
HSLhsl(282, 73%, 34%)
HSVhsv(282, 84%, 58%)
CMYKcmyk(25.7%, 84.5%, 0%, 42%)
CIE-LABlab(29.58, 54.93, -49.42)
CIE-LCHlch(29.58, 73.89, 318.03°)
OKLaboklab(41.79% 0.1272 -0.1401)
OKLCHoklch(41.79% 0.189 312.2)
XYZxyz(12.0811, 6.0663, 28.5457)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1794 #3D9417
analogous
#2F1794 #6E1794 #94177B
triadic
#6E1794 #946E17 #17946E
tetradic
#6E1794 #942F17 #3D9417 #177B94
square
#6E1794 #942F17 #3D9417 #177B94
split-complementary
#6E1794 #7B9417 #17942F
monochromatic
#1F072A #470F5F #6E1794 #951FC9 #B244E2

Accessibility & contrast

On white

9.49
#6E1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6E1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1794
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1794#FFFFFF#000000##FFFFFF
##6E17941.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#693858
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1794;
/* rgb */ color: rgb(110, 23, 148);
/* oklch */ color: oklch(41.8% 0.189 312.2);
Tailwind
colors: {
  custom: {
    50: '#9c61b4',
    500: '#6e1794',
    950: '#000000',
  },
}
SCSS
$custom: #6e1794;
$custom-light: #9c61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1794",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 281.76,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.18923,
    "h": 312.2
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#6E1794
secondary
#6BC344
accent
#F03870
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1794

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

Preview Lab → · Contrast checker → · Palette generator →

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