#6C299A#6C299A

#6C299A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.176 H 307.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6C299A
RGBrgb(108, 41, 154)
HSLhsl(276, 58%, 38%)
HSVhsv(276, 73%, 60%)
CMYKcmyk(29.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(32.05, 49.23, -49.10)
CIE-LCHlch(32.05, 69.53, 315.08°)
OKLaboklab(43.61% 0.1075 -0.1393)
OKLCHoklch(43.61% 0.176 307.7)
XYZxyz(12.8088, 7.1073, 31.2627)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C299A #579A29
analogous
#33299A #6C299A #9A298F
triadic
#6C299A #9A6C29 #299A6C
tetradic
#6C299A #9A3329 #579A29 #298F9A
square
#6C299A #9A3329 #579A29 #298F9A
split-complementary
#6C299A #8F9A29 #299A33
monochromatic
#280F39 #4A1C6A #6C299A #8E37CA #A967D7

Accessibility & contrast

On white

8.67
#6C299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6C299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C299A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C299A#FFFFFF#000000##FFFFFF
##6C299A1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#024C98
Tritanopia (blue-blind)
#65435F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c299a;
/* rgb */ color: rgb(108, 41, 154);
/* oklch */ color: oklch(43.6% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#9a69b8',
    500: '#6c299a',
    950: '#000000',
  },
}
SCSS
$custom: #6c299a;
$custom-light: #9a69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c299a",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 275.575,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.17599,
    "h": 307.7
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#6C299A
secondary
#87BD62
accent
#E14786
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6C299A

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

Preview Lab → · Contrast checker → · Palette generator →

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