#6C2176#6C2176

#6C2176 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.151 H 322.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6C2176
RGBrgb(108, 33, 118)
HSLhsl(293, 56%, 30%)
HSVhsv(293, 72%, 46%)
CMYKcmyk(8.5%, 72%, 0%, 53.7%)
CIE-LABlab(28.34, 44.91, -32.68)
CIE-LCHlch(28.34, 55.54, 323.96°)
OKLaboklab(40.17% 0.1199 -0.0911)
OKLCHoklch(40.17% 0.151 322.8)
XYZxyz(9.9979, 5.5844, 17.6873)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2176 #2B7621
analogous
#422176 #6C2176 #762156
triadic
#6C2176 #766C21 #21766C
tetradic
#6C2176 #764221 #2B7621 #215676
square
#6C2176 #764221 #2B7621 #215676
split-complementary
#6C2176 #567621 #217642
monochromatic
#160718 #401446 #6C2176 #982EA6 #BC46CB

Accessibility & contrast

On white

9.92
#6C2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6C2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2176
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2176#FFFFFF#000000##FFFFFF
##6C21761.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D78
Deuteranopia (green-blind)
#2E4674
Tritanopia (blue-blind)
#6E3049
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c2176;
/* rgb */ color: rgb(108, 33, 118);
/* oklch */ color: oklch(40.2% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#99649e',
    500: '#6c2176',
    950: '#000000',
  },
}
SCSS
$custom: #6c2176;
$custom-light: #99649e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2176",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 292.941,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.15064,
    "h": 322.8
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#6C2176
secondary
#55A94A
accent
#E0485A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2176

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

Preview Lab → · Contrast checker → · Palette generator →

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