#6D2178#6D2178

#6D2178 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 322.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#6D2178
RGBrgb(109, 33, 120)
HSLhsl(292, 57%, 30%)
HSVhsv(292, 73%, 47%)
CMYKcmyk(9.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(28.63, 45.54, -33.47)
CIE-LCHlch(28.63, 56.52, 323.68°)
OKLaboklab(40.46% 0.1211 -0.0934)
OKLCHoklch(40.46% 0.153 322.4)
XYZxyz(10.2403, 5.6956, 18.3256)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2178 #2C7821
analogous
#422178 #6D2178 #782157
triadic
#6D2178 #786D21 #21786D
tetradic
#6D2178 #784221 #2C7821 #215778
square
#6D2178 #784221 #2C7821 #215778
split-complementary
#6D2178 #577821 #217842
monochromatic
#160718 #411448 #6D2178 #992EA8 #BC47CC

Accessibility & contrast

On white

9.82
#6D2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2178
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2178#FFFFFF#000000##FFFFFF
##6D21781.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E7A
Deuteranopia (green-blind)
#2D4676
Tritanopia (blue-blind)
#6E304A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d2178;
/* rgb */ color: rgb(109, 33, 120);
/* oklch */ color: oklch(40.5% 0.153 322.4);
Tailwind
colors: {
  custom: {
    50: '#9a649f',
    500: '#6d2178',
    950: '#000000',
  },
}
SCSS
$custom: #6d2178;
$custom-light: #9a649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2178",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 292.414,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.15298,
    "h": 322.4
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#6D2178
secondary
#56AB4A
accent
#E0485B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D2178

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

Preview Lab → · Contrast checker → · Palette generator →

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