#6C29C6#6C29C6

#6C29C6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.221 H 295.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6C29C6
RGBrgb(108, 41, 198)
HSLhsl(266, 66%, 47%)
HSVhsv(266, 79%, 78%)
CMYKcmyk(45.5%, 79.3%, 0%, 22.4%)
CIE-LABlab(35.70, 59.81, -69.39)
CIE-LCHlch(35.70, 91.61, 310.76°)
OKLaboklab(47.3% 0.0967 -0.1989)
OKLCHoklch(47.3% 0.221 295.9)
XYZxyz(17.1676, 8.8508, 54.2190)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29C6 #83C629
analogous
#2935C6 #6C29C6 #BB29C6
triadic
#6C29C6 #C66C29 #29C66C
tetradic
#6C29C6 #C62935 #83C629 #29C6BB
square
#6C29C6 #C62935 #83C629 #29C6BB
split-complementary
#6C29C6 #C6BB29 #35C629
monochromatic
#351461 #501F93 #6C29C6 #8C51DB #AE84E6

Accessibility & contrast

On white

7.58
#6C29C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6C29C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29C6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29C6#FFFFFF#000000##FFFFFF
##6C29C61.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#535678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c29c6;
/* rgb */ color: rgb(108, 41, 198);
/* oklch */ color: oklch(47.3% 0.221 295.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bd8',
    500: '#6c29c6',
    950: '#000000',
  },
}
SCSS
$custom: #6c29c6;
$custom-light: #9f6bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29c6",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 265.605,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.22117,
    "h": 295.9
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#6C29C6
secondary
#ABCF7C
accent
#E93FA0
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6C29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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