#6D1978#6D1978

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

Color values

HEX#6D1978
RGBrgb(109, 25, 120)
HSLhsl(293, 66%, 28%)
HSVhsv(293, 79%, 47%)
CMYKcmyk(9.2%, 79.2%, 0%, 52.9%)
CIE-LABlab(27.58, 48.54, -35.15)
CIE-LCHlch(27.58, 59.93, 324.09°)
OKLaboklab(39.71% 0.1292 -0.0983)
OKLCHoklch(39.71% 0.162 322.8)
XYZxyz(10.0441, 5.3031, 18.2602)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1978 #247819
analogous
#3D1978 #6D1978 #781953
triadic
#6D1978 #786D19 #19786D
tetradic
#6D1978 #783D19 #247819 #195378
square
#6D1978 #783D19 #247819 #195378
split-complementary
#6D1978 #537819 #19783D
monochromatic
#170519 #3F0E45 #6D1978 #9B24AB #C336D5

Accessibility & contrast

On white

10.19
#6D1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1978
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1978#FFFFFF#000000##FFFFFF
##6D19781.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#294476
Tritanopia (blue-blind)
#6F2C48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1978;
/* rgb */ color: rgb(109, 25, 120);
/* oklch */ color: oklch(39.7% 0.162 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a609f',
    500: '#6d1978',
    950: '#000000',
  },
}
SCSS
$custom: #6d1978;
$custom-light: #9a609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1978",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 293.053,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.16236,
    "h": 322.8
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#6D1978
secondary
#4DAD40
accent
#E83F53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1978

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

Preview Lab → · Contrast checker → · Palette generator →

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