#6C299C#6C299C

#6C299C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.178 H 307.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6C299C
RGBrgb(108, 41, 156)
HSLhsl(275, 58%, 39%)
HSVhsv(275, 74%, 61%)
CMYKcmyk(30.8%, 73.7%, 0%, 38.8%)
CIE-LABlab(32.20, 49.70, -50.07)
CIE-LCHlch(32.20, 70.55, 314.79°)
OKLaboklab(43.77% 0.1072 -0.1422)
OKLCHoklch(43.77% 0.178 307)
XYZxyz(12.9767, 7.1745, 32.1472)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C299C #599C29
analogous
#33299C #6C299C #9C2992
triadic
#6C299C #9C6C29 #299C6C
tetradic
#6C299C #9C3329 #599C29 #29929C
square
#6C299C #9C3329 #599C29 #29929C
split-complementary
#6C299C #929C29 #299C33
monochromatic
#29103B #4A1C6C #6C299C #8D38CB #A968D7

Accessibility & contrast

On white

8.62
#6C299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6C299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C299C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C299C#FFFFFF#000000##FFFFFF
##6C299C1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#644460
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c299c;
/* rgb */ color: rgb(108, 41, 156);
/* oklch */ color: oklch(43.8% 0.178 307.0);
Tailwind
colors: {
  custom: {
    50: '#9b69ba',
    500: '#6c299c',
    950: '#000000',
  },
}
SCSS
$custom: #6c299c;
$custom-light: #9b69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c299c",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 274.957,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43769,
    "c": 0.17805,
    "h": 307
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#6C299C
secondary
#89BE63
accent
#E24687
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C299C

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

Preview Lab → · Contrast checker → · Palette generator →

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