#6C2D72#6C2D72

#6C2D72 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.129 H 324.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6C2D72
RGBrgb(108, 45, 114)
HSLhsl(295, 43%, 31%)
HSVhsv(295, 61%, 45%)
CMYKcmyk(5.3%, 60.5%, 0%, 55.3%)
CIE-LABlab(30.11, 38.55, -27.33)
CIE-LCHlch(30.11, 47.25, 324.66°)
OKLaboklab(41.38% 0.1046 -0.0757)
OKLCHoklch(41.38% 0.129 324.1)
XYZxyz(10.1597, 6.2804, 16.5934)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D72 #33722D
analogous
#492D72 #6C2D72 #722D55
triadic
#6C2D72 #726C2D #2D726C
tetradic
#6C2D72 #72492D #33722D #2D5572
square
#6C2D72 #72492D #33722D #2D5572
split-complementary
#6C2D72 #55722D #2D7249
monochromatic
#190A1A #421C46 #6C2D72 #963E9E #B65BBE

Accessibility & contrast

On white

9.31
#6C2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6C2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D72
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D72#FFFFFF#000000##FFFFFF
##6C2D721.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#6E364B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c2d72;
/* rgb */ color: rgb(108, 45, 114);
/* oklch */ color: oklch(41.4% 0.129 324.1);
Tailwind
colors: {
  custom: {
    50: '#986a9b',
    500: '#6c2d72',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d72;
$custom-light: #986a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d72",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 294.783,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.12907,
    "h": 324.1
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#6C2D72
secondary
#5EA357
accent
#D35560
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6C2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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