#6D1E79#6D1E79

#6D1E79 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.158 H 322.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6D1E79
RGBrgb(109, 30, 121)
HSLhsl(292, 60%, 30%)
HSVhsv(292, 75%, 47%)
CMYKcmyk(9.9%, 75.2%, 0%, 52.5%)
CIE-LABlab(28.28, 46.93, -34.67)
CIE-LCHlch(28.28, 58.35, 323.54°)
OKLaboklab(40.23% 0.1243 -0.0969)
OKLCHoklch(40.23% 0.158 322.1)
XYZxyz(10.2218, 5.5608, 18.6204)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E79 #2A791E
analogous
#401E79 #6D1E79 #791E58
triadic
#6D1E79 #796D1E #1E796D
tetradic
#6D1E79 #79401E #2A791E #1E5879
square
#6D1E79 #79401E #2A791E #1E5879
split-complementary
#6D1E79 #58791E #1E7940
monochromatic
#160619 #411248 #6D1E79 #992AAA #BD41D0

Accessibility & contrast

On white

9.94
#6D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6D1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E79
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E79#FFFFFF#000000##FFFFFF
##6D1E791.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#2B4677
Tritanopia (blue-blind)
#6E2F4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1e79;
/* rgb */ color: rgb(109, 30, 121);
/* oklch */ color: oklch(40.2% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#9a63a0',
    500: '#6d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e79;
$custom-light: #9a63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e79",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 292.088,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.15761,
    "h": 322.1
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#6D1E79
secondary
#54AD46
accent
#E34459
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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