#6C2399#6C2399

#6C2399 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.182 H 308.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6C2399
RGBrgb(108, 35, 153)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 77%, 60%)
CMYKcmyk(29.4%, 77.1%, 0%, 40%)
CIE-LABlab(31.09, 51.52, -50.04)
CIE-LCHlch(31.09, 71.82, 315.83°)
OKLaboklab(42.91% 0.1135 -0.1421)
OKLCHoklch(42.91% 0.182 308.6)
XYZxyz(12.5340, 6.6903, 30.7619)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2399 #509923
analogous
#312399 #6C2399 #99238B
triadic
#6C2399 #996C23 #23996C
tetradic
#6C2399 #993123 #509923 #238B99
square
#6C2399 #993123 #509923 #238B99
split-complementary
#6C2399 #8B9923 #239931
monochromatic
#260C35 #491867 #6C2399 #8F2ECB #AA5DDA

Accessibility & contrast

On white

8.98
#6C2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2399
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2399#FFFFFF#000000##FFFFFF
##6C23991.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#65405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2399;
/* rgb */ color: rgb(108, 35, 153);
/* oklch */ color: oklch(42.9% 0.182 308.6);
Tailwind
colors: {
  custom: {
    50: '#9b66b8',
    500: '#6c2399',
    950: '#000000',
  },
}
SCSS
$custom: #6c2399;
$custom-light: #9b66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2399",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 277.119,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.18186,
    "h": 308.6
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#6C2399
secondary
#80BE59
accent
#E64280
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C2399

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

Preview Lab → · Contrast checker → · Palette generator →

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