#6C29A8#6C29A8

#6C29A8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.190 H 303.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6C29A8
RGBrgb(108, 41, 168)
HSLhsl(272, 61%, 41%)
HSVhsv(272, 76%, 66%)
CMYKcmyk(35.7%, 75.6%, 0%, 34.1%)
CIE-LABlab(33.14, 52.53, -55.80)
CIE-LCHlch(33.14, 76.64, 313.27°)
OKLaboklab(44.73% 0.1048 -0.159)
OKLCHoklch(44.73% 0.19 303.4)
XYZxyz(14.0435, 7.6012, 37.7655)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29A8 #65A829
analogous
#2D29A8 #6C29A8 #A829A4
triadic
#6C29A8 #A86C29 #29A86C
tetradic
#6C29A8 #A82D29 #65A829 #29A4A8
square
#6C29A8 #A82D29 #65A829 #29A4A8
split-complementary
#6C29A8 #A4A829 #29A82D
monochromatic
#2D1146 #4C1D77 #6C29A8 #8B3ED0 #A96FDC

Accessibility & contrast

On white

8.33
#6C29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6C29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29A8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29A8#FFFFFF#000000##FFFFFF
##6C29A81.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#604967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c29a8;
/* rgb */ color: rgb(108, 41, 168);
/* oklch */ color: oklch(44.7% 0.190 303.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ac3',
    500: '#6c29a8',
    950: '#000000',
  },
}
SCSS
$custom: #6c29a8;
$custom-light: #9c6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29a8",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 271.654,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.19043,
    "h": 303.4
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#6C29A8
secondary
#94C36A
accent
#E4448F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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