#6C2C8A#6C2C8A

#6C2C8A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 313.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6C2C8A
RGBrgb(108, 44, 138)
HSLhsl(281, 52%, 36%)
HSVhsv(281, 68%, 54%)
CMYKcmyk(21.7%, 68.1%, 0%, 45.9%)
CIE-LABlab(31.40, 44.19, -40.31)
CIE-LCHlch(31.40, 59.82, 317.63°)
OKLaboklab(42.79% 0.1061 -0.1135)
OKLCHoklch(42.79% 0.155 313.1)
XYZxyz(11.6717, 6.8248, 24.7423)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2C8A #4A8A2C
analogous
#3D2C8A #6C2C8A #8A2C79
triadic
#6C2C8A #8A6C2C #2C8A6C
tetradic
#6C2C8A #8A3D2C #4A8A2C #2C798A
square
#6C2C8A #8A3D2C #4A8A2C #2C798A
split-complementary
#6C2C8A #798A2C #2C8A3D
monochromatic
#230E2D #481D5C #6C2C8A #903BB8 #AB63CD

Accessibility & contrast

On white

8.88
#6C2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6C2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2C8A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2C8A#FFFFFF#000000##FFFFFF
##6C2C8A1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#693F57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2c8a;
/* rgb */ color: rgb(108, 44, 138);
/* oklch */ color: oklch(42.8% 0.155 313.1);
Tailwind
colors: {
  custom: {
    50: '#996aad',
    500: '#6c2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c2c8a;
$custom-light: #996aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2c8a",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 280.851,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.15539,
    "h": 313.1
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#6C2C8A
secondary
#79B45E
accent
#DB4D7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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