#6C29AA#6C29AA

#6C29AA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.192 H 302.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6C29AA
RGBrgb(108, 41, 170)
HSLhsl(271, 61%, 41%)
HSVhsv(271, 76%, 67%)
CMYKcmyk(36.5%, 75.9%, 0%, 33.3%)
CIE-LABlab(33.30, 53.01, -56.74)
CIE-LCHlch(33.30, 77.65, 313.05°)
OKLaboklab(44.89% 0.1043 -0.1618)
OKLCHoklch(44.89% 0.192 302.8)
XYZxyz(14.2313, 7.6763, 38.7543)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29AA #67AA29
analogous
#2C29AA #6C29AA #AA29A8
triadic
#6C29AA #AA6C29 #29AA6C
tetradic
#6C29AA #AA2C29 #67AA29 #29A8AA
square
#6C29AA #AA2C29 #67AA29 #29A8AA
split-complementary
#6C29AA #A8AA29 #29AA2C
monochromatic
#2D1147 #4D1D79 #6C29AA #8B3FD1 #A971DD

Accessibility & contrast

On white

8.28
#6C29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6C29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29AA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29AA#FFFFFF#000000##FFFFFF
##6C29AA1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#5F4A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c29aa;
/* rgb */ color: rgb(108, 41, 170);
/* oklch */ color: oklch(44.9% 0.192 302.8);
Tailwind
colors: {
  custom: {
    50: '#9c6ac4',
    500: '#6c29aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c29aa;
$custom-light: #9c6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29aa",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 271.163,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.19248,
    "h": 302.8
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#6C29AA
secondary
#96C46B
accent
#E44491
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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