#6C2C8B#6C2C8B

#6C2C8B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.156 H 312.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6C2C8B
RGBrgb(108, 44, 139)
HSLhsl(280, 52%, 36%)
HSVhsv(280, 68%, 55%)
CMYKcmyk(22.3%, 68.3%, 0%, 45.5%)
CIE-LABlab(31.47, 44.42, -40.82)
CIE-LCHlch(31.47, 60.33, 317.41°)
OKLaboklab(42.86% 0.106 -0.115)
OKLCHoklch(42.86% 0.156 312.7)
XYZxyz(11.7444, 6.8539, 25.1254)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2C8B #4B8B2C
analogous
#3C2C8B #6C2C8B #8B2C7A
triadic
#6C2C8B #8B6C2C #2C8B6C
tetradic
#6C2C8B #8B3C2C #4B8B2C #2C7A8B
square
#6C2C8B #8B3C2C #4B8B2C #2C7A8B
split-complementary
#6C2C8B #7A8B2C #2C8B3C
monochromatic
#240F2E #481D5D #6C2C8B #903BB9 #AB64CE

Accessibility & contrast

On white

8.86
#6C2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2C8B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2C8B#FFFFFF#000000##FFFFFF
##6C2C8B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#693F58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2c8b;
/* rgb */ color: rgb(108, 44, 139);
/* oklch */ color: oklch(42.9% 0.156 312.7);
Tailwind
colors: {
  custom: {
    50: '#996aad',
    500: '#6c2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #6c2c8b;
$custom-light: #996aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2c8b",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 280.421,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.15644,
    "h": 312.7
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#6C2C8B
secondary
#7BB45F
accent
#DB4C7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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