#6C2272#6C2272

#6C2272 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.146 H 324.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6C2272
RGBrgb(108, 34, 114)
HSLhsl(296, 54%, 29%)
HSVhsv(296, 70%, 45%)
CMYKcmyk(5.3%, 70.2%, 0%, 55.3%)
CIE-LABlab(28.24, 43.71, -30.29)
CIE-LCHlch(28.24, 53.18, 325.28°)
OKLaboklab(40.03% 0.1188 -0.0842)
OKLCHoklch(40.03% 0.146 324.7)
XYZxyz(9.7934, 5.5477, 16.4713)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2272 #287222
analogous
#442272 #6C2272 #722250
triadic
#6C2272 #726C22 #22726C
tetradic
#6C2272 #724422 #287222 #225072
square
#6C2272 #724422 #287222 #225072
split-complementary
#6C2272 #507222 #227244
monochromatic
#160718 #3F1443 #6C2272 #9930A1 #BE46C8

Accessibility & contrast

On white

9.96
#6C2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6C2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2272
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2272#FFFFFF#000000##FFFFFF
##6C22721.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#6E2F47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c2272;
/* rgb */ color: rgb(108, 34, 114);
/* oklch */ color: oklch(40.0% 0.146 324.7);
Tailwind
colors: {
  custom: {
    50: '#99649b',
    500: '#6c2272',
    950: '#000000',
  },
}
SCSS
$custom: #6c2272;
$custom-light: #99649b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2272",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 295.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.14562,
    "h": 324.7
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#6C2272
secondary
#51A54B
accent
#DD4A55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2272

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

Preview Lab → · Contrast checker → · Palette generator →

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