#6C29A6#6C29A6

#6C29A6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.188 H 303.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6C29A6
RGBrgb(108, 41, 166)
HSLhsl(272, 60%, 41%)
HSVhsv(272, 75%, 65%)
CMYKcmyk(34.9%, 75.3%, 0%, 34.9%)
CIE-LABlab(32.98, 52.05, -54.86)
CIE-LCHlch(32.98, 75.62, 313.50°)
OKLaboklab(44.56% 0.1052 -0.1563)
OKLCHoklch(44.56% 0.188 303.9)
XYZxyz(13.8586, 7.5272, 36.7918)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29A6 #63A629
analogous
#2E29A6 #6C29A6 #A629A1
triadic
#6C29A6 #A66C29 #29A66C
tetradic
#6C29A6 #A62E29 #63A629 #29A1A6
square
#6C29A6 #A62E29 #63A629 #29A1A6
split-complementary
#6C29A6 #A1A629 #29A62E
monochromatic
#2C1144 #4C1D75 #6C29A6 #8B3DCF #A96EDB

Accessibility & contrast

On white

8.38
#6C29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6C29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29A6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29A6#FFFFFF#000000##FFFFFF
##6C29A61.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#614866
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c29a6;
/* rgb */ color: rgb(108, 41, 166);
/* oklch */ color: oklch(44.6% 0.188 303.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ac1',
    500: '#6c29a6',
    950: '#000000',
  },
}
SCSS
$custom: #6c29a6;
$custom-light: #9b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29a6",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 272.16,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.18837,
    "h": 303.9
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#6C29A6
secondary
#92C269
accent
#E4448E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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