#6D1878#6D1878

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

Color values

HEX#6D1878
RGBrgb(109, 24, 120)
HSLhsl(293, 67%, 28%)
HSVhsv(293, 80%, 47%)
CMYKcmyk(9.2%, 80%, 0%, 52.9%)
CIE-LABlab(27.47, 48.87, -35.34)
CIE-LCHlch(27.47, 60.31, 324.13°)
OKLaboklab(39.63% 0.1301 -0.0988)
OKLCHoklch(39.63% 0.163 322.8)
XYZxyz(10.0231, 5.2611, 18.2532)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1878 #237818
analogous
#3D1878 #6D1878 #781853
triadic
#6D1878 #786D18 #18786D
tetradic
#6D1878 #783D18 #237818 #185378
square
#6D1878 #783D18 #237818 #185378
split-complementary
#6D1878 #537818 #18783D
monochromatic
#17051A #3F0E45 #6D1878 #9B22AB #C434D6

Accessibility & contrast

On white

10.23
#6D1878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D1878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1878
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1878#FFFFFF#000000##FFFFFF
##6D18781.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1878;
/* rgb */ color: rgb(109, 24, 120);
/* oklch */ color: oklch(39.6% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a609f',
    500: '#6d1878',
    950: '#000000',
  },
}
SCSS
$custom: #6d1878;
$custom-light: #9a609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1878",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 293.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.16339,
    "h": 322.8
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#6D1878
secondary
#4BAD3F
accent
#EA3E52
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1878

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

Preview Lab → · Contrast checker → · Palette generator →

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