#6C29B6#6C29B6

#6C29B6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.205 H 299.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6C29B6
RGBrgb(108, 41, 182)
HSLhsl(269, 63%, 44%)
HSVhsv(269, 77%, 71%)
CMYKcmyk(40.7%, 77.5%, 0%, 28.6%)
CIE-LABlab(34.30, 55.90, -62.27)
CIE-LCHlch(34.30, 83.68, 311.92°)
OKLaboklab(45.9% 0.1013 -0.178)
OKLCHoklch(45.9% 0.205 299.6)
XYZxyz(15.4186, 8.1512, 45.0079)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29B6 #73B629
analogous
#292CB6 #6C29B6 #B229B6
triadic
#6C29B6 #B66C29 #29B66C
tetradic
#6C29B6 #B6292C #73B629 #29B6B2
square
#6C29B6 #B6292C #73B629 #29B6B2
split-complementary
#6C29B6 #B6B229 #2CB629
monochromatic
#311252 #4E1E84 #6C29B6 #8B47D5 #AA79E1

Accessibility & contrast

On white

7.98
#6C29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6C29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29B6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29B6#FFFFFF#000000##FFFFFF
##6C29B61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#5A4F6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c29b6;
/* rgb */ color: rgb(108, 41, 182);
/* oklch */ color: oklch(45.9% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#9d6acd',
    500: '#6c29b6',
    950: '#000000',
  },
}
SCSS
$custom: #6c29b6;
$custom-light: #9d6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29b6",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 268.511,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.20481,
    "h": 299.6
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#6C29B6
secondary
#A0C972
accent
#E64298
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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