#6D1794#6D1794

#6D1794 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.189 H 311.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6D1794
RGBrgb(109, 23, 148)
HSLhsl(281, 73%, 34%)
HSVhsv(281, 84%, 58%)
CMYKcmyk(26.4%, 84.5%, 0%, 42%)
CIE-LABlab(29.42, 54.77, -49.69)
CIE-LCHlch(29.42, 73.95, 317.78°)
OKLaboklab(41.65% 0.1259 -0.1409)
OKLCHoklch(41.65% 0.189 311.8)
XYZxyz(11.9574, 6.0025, 28.5399)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1794 #3E9417
analogous
#2E1794 #6D1794 #94177C
triadic
#6D1794 #946D17 #17946D
tetradic
#6D1794 #942E17 #3E9417 #177C94
square
#6D1794 #942E17 #3E9417 #177C94
split-complementary
#6D1794 #7C9417 #17942E
monochromatic
#1F072A #460F5F #6D1794 #941FC9 #B044E2

Accessibility & contrast

On white

9.54
#6D1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1794
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1794#FFFFFF#000000##FFFFFF
##6D17941.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#683858
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1794;
/* rgb */ color: rgb(109, 23, 148);
/* oklch */ color: oklch(41.6% 0.189 311.8);
Tailwind
colors: {
  custom: {
    50: '#9c61b4',
    500: '#6d1794',
    950: '#000000',
  },
}
SCSS
$custom: #6d1794;
$custom-light: #9c61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1794",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 281.28,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.18893,
    "h": 311.8
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#6D1794
secondary
#6CC344
accent
#F03871
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1794

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

Preview Lab → · Contrast checker → · Palette generator →

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