#6D1879#6D1879

#6D1879 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.164 H 322.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#6D1879
RGBrgb(109, 24, 121)
HSLhsl(293, 67%, 28%)
HSVhsv(293, 80%, 47%)
CMYKcmyk(9.9%, 80.2%, 0%, 52.5%)
CIE-LABlab(27.53, 49.06, -35.86)
CIE-LCHlch(27.53, 60.77, 323.83°)
OKLaboklab(39.7% 0.1301 -0.1003)
OKLCHoklch(39.7% 0.164 322.3)
XYZxyz(10.0841, 5.2855, 18.5745)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1879 #247918
analogous
#3C1879 #6D1879 #791854
triadic
#6D1879 #796D18 #18796D
tetradic
#6D1879 #793C18 #247918 #185479
square
#6D1879 #793C18 #247918 #185479
split-complementary
#6D1879 #547918 #18793C
monochromatic
#17051A #3F0E46 #6D1879 #9B22AC #C335D7

Accessibility & contrast

On white

10.21
#6D1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1879
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1879#FFFFFF#000000##FFFFFF
##6D18791.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#6E2C48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1879;
/* rgb */ color: rgb(109, 24, 121);
/* oklch */ color: oklch(39.7% 0.164 322.3);
Tailwind
colors: {
  custom: {
    50: '#9a60a0',
    500: '#6d1879',
    950: '#000000',
  },
}
SCSS
$custom: #6d1879;
$custom-light: #9a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1879",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 292.577,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.16426,
    "h": 322.3
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#6D1879
secondary
#4DAE3F
accent
#EA3E53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6D1879

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

Preview Lab → · Contrast checker → · Palette generator →

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