#6C2D82#6C2D82

#6C2D82 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.146 H 316.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6C2D82
RGBrgb(108, 45, 130)
HSLhsl(284, 49%, 34%)
HSVhsv(284, 65%, 51%)
CMYKcmyk(16.9%, 65.4%, 0%, 49%)
CIE-LABlab(31.06, 41.93, -35.89)
CIE-LCHlch(31.06, 55.20, 319.44°)
OKLaboklab(42.38% 0.1052 -0.1006)
OKLCHoklch(42.38% 0.146 316.3)
XYZxyz(11.1514, 6.6770, 21.8161)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D82 #43822D
analogous
#422D82 #6C2D82 #822D6E
triadic
#6C2D82 #826C2D #2D826C
tetradic
#6C2D82 #82422D #43822D #2D6E82
square
#6C2D82 #82422D #43822D #2D6E82
split-complementary
#6C2D82 #6E822D #2D8242
monochromatic
#200E27 #461D55 #6C2D82 #923DAF #AE61C8

Accessibility & contrast

On white

8.99
#6C2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D82
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D82#FFFFFF#000000##FFFFFF
##6C2D821.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#6B3C53
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2d82;
/* rgb */ color: rgb(108, 45, 130);
/* oklch */ color: oklch(42.4% 0.146 316.3);
Tailwind
colors: {
  custom: {
    50: '#996aa7',
    500: '#6c2d82',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d82;
$custom-light: #996aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d82",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 284.471,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.14553,
    "h": 316.3
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#6C2D82
secondary
#71AF5C
accent
#D85073
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6C2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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