#6C2C8D#6C2C8D

#6C2C8D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.159 H 311.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6C2C8D
RGBrgb(108, 44, 141)
HSLhsl(280, 52%, 36%)
HSVhsv(280, 69%, 55%)
CMYKcmyk(23.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(31.61, 44.87, -41.84)
CIE-LCHlch(31.61, 61.35, 317.00°)
OKLaboklab(43% 0.1059 -0.118)
OKLCHoklch(43% 0.159 311.9)
XYZxyz(11.8919, 6.9129, 25.9020)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2C8D #4D8D2C
analogous
#3C2C8D #6C2C8D #8D2C7E
triadic
#6C2C8D #8D6C2C #2C8D6C
tetradic
#6C2C8D #8D3C2C #4D8D2C #2C7E8D
square
#6C2C8D #8D3C2C #4D8D2C #2C7E8D
split-complementary
#6C2C8D #7E8D2C #2C8D3C
monochromatic
#250F30 #481D5E #6C2C8D #903BBC #AB65CF

Accessibility & contrast

On white

8.81
#6C2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2C8D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2C8D#FFFFFF#000000##FFFFFF
##6C2C8D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#684059
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2c8d;
/* rgb */ color: rgb(108, 44, 141);
/* oklch */ color: oklch(43.0% 0.159 311.9);
Tailwind
colors: {
  custom: {
    50: '#996aaf',
    500: '#6c2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6c2c8d;
$custom-light: #996aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2c8d",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 279.588,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.15855,
    "h": 311.9
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#6C2C8D
secondary
#7DB560
accent
#DC4C7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6C2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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