#6C29A4#6C29A4

#6C29A4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.186 H 304.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6C29A4
RGBrgb(108, 41, 164)
HSLhsl(273, 60%, 40%)
HSVhsv(273, 75%, 64%)
CMYKcmyk(34.1%, 75%, 0%, 35.7%)
CIE-LABlab(32.82, 51.58, -53.91)
CIE-LCHlch(32.82, 74.61, 313.73°)
OKLaboklab(44.4% 0.1056 -0.1535)
OKLCHoklch(44.4% 0.186 304.5)
XYZxyz(13.6766, 7.4544, 35.8331)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29A4 #61A429
analogous
#2F29A4 #6C29A4 #A4299E
triadic
#6C29A4 #A46C29 #29A46C
tetradic
#6C29A4 #A42F29 #61A429 #299EA4
square
#6C29A4 #A42F29 #61A429 #299EA4
split-complementary
#6C29A4 #9EA429 #29A42F
monochromatic
#2C1142 #4C1D73 #6C29A4 #8C3CCE #A96DDA

Accessibility & contrast

On white

8.43
#6C29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6C29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29A4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29A4#FFFFFF#000000##FFFFFF
##6C29A41.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#614765
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c29a4;
/* rgb */ color: rgb(108, 41, 164);
/* oklch */ color: oklch(44.4% 0.186 304.5);
Tailwind
colors: {
  custom: {
    50: '#9b6ac0',
    500: '#6c29a4',
    950: '#000000',
  },
}
SCSS
$custom: #6c29a4;
$custom-light: #9b6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29a4",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 272.683,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.1863,
    "h": 304.5
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#6C29A4
secondary
#90C168
accent
#E3458D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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