#6C29B1#6C29B1

#6C29B1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.200 H 300.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6C29B1
RGBrgb(108, 41, 177)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 77%, 69%)
CMYKcmyk(39%, 76.8%, 0%, 30.6%)
CIE-LABlab(33.87, 54.69, -59.98)
CIE-LCHlch(33.87, 81.17, 312.36°)
OKLaboklab(45.47% 0.1026 -0.1713)
OKLCHoklch(45.47% 0.2 300.9)
XYZxyz(14.9111, 7.9482, 42.3350)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29B1 #6EB129
analogous
#292AB1 #6C29B1 #B029B1
triadic
#6C29B1 #B16C29 #29B16C
tetradic
#6C29B1 #B1292A #6EB129 #29B1B0
square
#6C29B1 #B1292A #6EB129 #29B1B0
split-complementary
#6C29B1 #B1B029 #2AB129
monochromatic
#2F124E #4E1D7F #6C29B1 #8B44D4 #A975DF

Accessibility & contrast

On white

8.11
#6C29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6C29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29B1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29B1#FFFFFF#000000##FFFFFF
##6C29B11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5C4D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c29b1;
/* rgb */ color: rgb(108, 41, 177);
/* oklch */ color: oklch(45.5% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ac9',
    500: '#6c29b1',
    950: '#000000',
  },
}
SCSS
$custom: #6c29b1;
$custom-light: #9d6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29b1",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 269.559,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.19969,
    "h": 300.9
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#6C29B1
secondary
#9CC76F
accent
#E54295
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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