#6C2178#6C2178

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

Color values

HEX#6C2178
RGBrgb(108, 33, 120)
HSLhsl(292, 57%, 30%)
HSVhsv(292, 73%, 47%)
CMYKcmyk(10%, 72.5%, 0%, 52.9%)
CIE-LABlab(28.47, 45.30, -33.75)
CIE-LCHlch(28.47, 56.49, 323.32°)
OKLaboklab(40.31% 0.1199 -0.0943)
OKLCHoklch(40.31% 0.152 321.8)
XYZxyz(10.1180, 5.6325, 18.3199)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2178 #2D7821
analogous
#402178 #6C2178 #782159
triadic
#6C2178 #786C21 #21786C
tetradic
#6C2178 #784021 #2D7821 #215978
square
#6C2178 #784021 #2D7821 #215978
split-complementary
#6C2178 #597821 #217840
monochromatic
#160718 #411448 #6C2178 #972EA8 #BA47CC

Accessibility & contrast

On white

9.88
#6C2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6C2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2178
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2178#FFFFFF#000000##FFFFFF
##6C21781.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7A
Deuteranopia (green-blind)
#2C4676
Tritanopia (blue-blind)
#6D304A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c2178;
/* rgb */ color: rgb(108, 33, 120);
/* oklch */ color: oklch(40.3% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#99649f',
    500: '#6c2178',
    950: '#000000',
  },
}
SCSS
$custom: #6c2178;
$custom-light: #99649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2178",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 291.724,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.15249,
    "h": 321.8
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#6C2178
secondary
#57AB4A
accent
#E0485D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2178

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

Preview Lab → · Contrast checker → · Palette generator →

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