#6C29AE#6C29AE

#6C29AE is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.197 H 301.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6C29AE
RGBrgb(108, 41, 174)
HSLhsl(270, 62%, 42%)
HSVhsv(270, 76%, 68%)
CMYKcmyk(37.9%, 76.4%, 0%, 31.8%)
CIE-LABlab(33.63, 53.97, -58.60)
CIE-LCHlch(33.63, 79.66, 312.64°)
OKLaboklab(45.22% 0.1033 -0.1672)
OKLCHoklch(45.22% 0.197 301.7)
XYZxyz(14.6154, 7.8299, 40.7775)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29AE #6BAE29
analogous
#2A29AE #6C29AE #AE29AD
triadic
#6C29AE #AE6C29 #29AE6C
tetradic
#6C29AE #AE2A29 #6BAE29 #29ADAE
square
#6C29AE #AE2A29 #6BAE29 #29ADAE
split-complementary
#6C29AE #ADAE29 #29AE2A
monochromatic
#2F124B #4D1D7C #6C29AE #8B42D2 #A973DE

Accessibility & contrast

On white

8.18
#6C29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6C29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29AE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29AE#FFFFFF#000000##FFFFFF
##6C29AE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5E4C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c29ae;
/* rgb */ color: rgb(108, 41, 174);
/* oklch */ color: oklch(45.2% 0.197 301.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ac7',
    500: '#6c29ae',
    950: '#000000',
  },
}
SCSS
$custom: #6c29ae;
$custom-light: #9c6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29ae",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 270.226,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.1966,
    "h": 301.7
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#6C29AE
secondary
#99C56D
accent
#E54393
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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