#6D1F79#6D1F79

#6D1F79 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.156 H 322.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6D1F79
RGBrgb(109, 31, 121)
HSLhsl(292, 59%, 30%)
HSVhsv(292, 74%, 47%)
CMYKcmyk(9.9%, 74.4%, 0%, 52.5%)
CIE-LABlab(28.41, 46.54, -34.46)
CIE-LCHlch(28.41, 57.91, 323.49°)
OKLaboklab(40.32% 0.1233 -0.0963)
OKLCHoklch(40.32% 0.156 322)
XYZxyz(10.2475, 5.6122, 18.6290)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F79 #2B791F
analogous
#401F79 #6D1F79 #791F58
triadic
#6D1F79 #796D1F #1F796D
tetradic
#6D1F79 #79401F #2B791F #1F5879
square
#6D1F79 #79401F #2B791F #1F5879
split-complementary
#6D1F79 #58791F #1F7940
monochromatic
#160618 #411348 #6D1F79 #992BAA #BC43CF

Accessibility & contrast

On white

9.89
#6D1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F79
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F79#FFFFFF#000000##FFFFFF
##6D1F791.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.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: #6d1f79;
/* rgb */ color: rgb(109, 31, 121);
/* oklch */ color: oklch(40.3% 0.156 322.0);
Tailwind
colors: {
  custom: {
    50: '#9a63a0',
    500: '#6d1f79',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f79;
$custom-light: #9a63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f79",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 292,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.1564,
    "h": 322
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#6D1F79
secondary
#55AC47
accent
#E2455A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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