#6D1D79#6D1D79

#6D1D79 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.159 H 322.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6D1D79
RGBrgb(109, 29, 121)
HSLhsl(292, 61%, 29%)
HSVhsv(292, 76%, 47%)
CMYKcmyk(9.9%, 76%, 0%, 52.5%)
CIE-LABlab(28.14, 47.31, -34.89)
CIE-LCHlch(28.14, 58.78, 323.59°)
OKLaboklab(40.13% 0.1253 -0.0975)
OKLCHoklch(40.13% 0.159 322.1)
XYZxyz(10.1969, 5.5110, 18.6121)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D79 #29791D
analogous
#3F1D79 #6D1D79 #791D57
triadic
#6D1D79 #796D1D #1D796D
tetradic
#6D1D79 #793F1D #29791D #1D5779
square
#6D1D79 #793F1D #29791D #1D5779
split-complementary
#6D1D79 #57791D #1D793F
monochromatic
#160619 #411148 #6D1D79 #9929AA #BE3FD1

Accessibility & contrast

On white

9.99
#6D1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6D1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D79
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D79#FFFFFF#000000##FFFFFF
##6D1D791.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#2A4577
Tritanopia (blue-blind)
#6E2E49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1d79;
/* rgb */ color: rgb(109, 29, 121);
/* oklch */ color: oklch(40.1% 0.159 322.1);
Tailwind
colors: {
  custom: {
    50: '#9a62a0',
    500: '#6d1d79',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d79;
$custom-light: #9a62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d79",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 292.174,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4013,
    "c": 0.15879,
    "h": 322.1
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#6D1D79
secondary
#53AD45
accent
#E44358
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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