#6C2276#6C2276

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

Color values

HEX#6C2276
RGBrgb(108, 34, 118)
HSLhsl(293, 55%, 30%)
HSVhsv(293, 71%, 46%)
CMYKcmyk(8.5%, 71.2%, 0%, 53.7%)
CIE-LABlab(28.49, 44.49, -32.44)
CIE-LCHlch(28.49, 55.06, 323.90°)
OKLaboklab(40.28% 0.1188 -0.0905)
OKLCHoklch(40.28% 0.149 322.7)
XYZxyz(10.0261, 5.6408, 17.6967)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2276 #2C7622
analogous
#422276 #6C2276 #762256
triadic
#6C2276 #766C22 #22766C
tetradic
#6C2276 #764222 #2C7622 #225676
square
#6C2276 #764222 #2C7622 #225676
split-complementary
#6C2276 #567622 #227642
monochromatic
#160718 #411446 #6C2276 #9730A6 #BB48CA

Accessibility & contrast

On white

9.87
#6C2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2276
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2276#FFFFFF#000000##FFFFFF
##6C22761.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c2276;
/* rgb */ color: rgb(108, 34, 118);
/* oklch */ color: oklch(40.3% 0.149 322.7);
Tailwind
colors: {
  custom: {
    50: '#99649e',
    500: '#6c2276',
    950: '#000000',
  },
}
SCSS
$custom: #6c2276;
$custom-light: #99649e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2276",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 292.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.14932,
    "h": 322.7
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#6C2276
secondary
#56A94B
accent
#DF495B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2276

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

Preview Lab → · Contrast checker → · Palette generator →

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