#6D2172#6D2172

#6D2172 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.147 H 325.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6D2172
RGBrgb(109, 33, 114)
HSLhsl(296, 55%, 29%)
HSVhsv(296, 71%, 45%)
CMYKcmyk(4.4%, 71.1%, 0%, 55.3%)
CIE-LABlab(28.26, 44.38, -30.25)
CIE-LCHlch(28.26, 53.71, 325.72°)
OKLaboklab(40.07% 0.1212 -0.084)
OKLCHoklch(40.07% 0.148 325.3)
XYZxyz(9.8876, 5.5544, 16.4676)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2172 #267221
analogous
#452172 #6D2172 #72214F
triadic
#6D2172 #726D21 #21726D
tetradic
#6D2172 #724521 #267221 #214F72
square
#6D2172 #724521 #267221 #214F72
split-complementary
#6D2172 #4F7221 #217245
monochromatic
#170718 #401343 #6D2172 #9A2FA1 #C144C9

Accessibility & contrast

On white

9.95
#6D2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2172
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2172#FFFFFF#000000##FFFFFF
##6D21721.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#702E47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d2172;
/* rgb */ color: rgb(109, 33, 114);
/* oklch */ color: oklch(40.1% 0.147 325.3);
Tailwind
colors: {
  custom: {
    50: '#9a649b',
    500: '#6d2172',
    950: '#000000',
  },
}
SCSS
$custom: #6d2172;
$custom-light: #9a649b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2172",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 296.296,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.1475,
    "h": 325.3
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#6D2172
secondary
#4FA549
accent
#DE4953
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D2172

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

Preview Lab → · Contrast checker → · Palette generator →

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