#6C29B2#6C29B2

#6C29B2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.201 H 300.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6C29B2
RGBrgb(108, 41, 178)
HSLhsl(269, 63%, 43%)
HSVhsv(269, 77%, 70%)
CMYKcmyk(39.3%, 77%, 0%, 30.2%)
CIE-LABlab(33.96, 54.93, -60.44)
CIE-LCHlch(33.96, 81.67, 312.27°)
OKLaboklab(45.56% 0.1023 -0.1727)
OKLCHoklch(45.56% 0.201 300.7)
XYZxyz(15.0112, 7.9882, 42.8619)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29B2 #6FB229
analogous
#292BB2 #6C29B2 #B029B2
triadic
#6C29B2 #B26C29 #29B26C
tetradic
#6C29B2 #B2292B #6FB229 #29B2B0
square
#6C29B2 #B2292B #6FB229 #29B2B0
split-complementary
#6C29B2 #B2B029 #2BB229
monochromatic
#30124F #4E1E80 #6C29B2 #8B44D4 #AA76DF

Accessibility & contrast

On white

8.08
#6C29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6C29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29B2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29B2#FFFFFF#000000##FFFFFF
##6C29B21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c29b2;
/* rgb */ color: rgb(108, 41, 178);
/* oklch */ color: oklch(45.6% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#9d6aca',
    500: '#6c29b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c29b2;
$custom-light: #9d6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29b2",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 269.343,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.20072,
    "h": 300.7
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#6C29B2
secondary
#9CC770
accent
#E64296
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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