#6C29A5#6C29A5

#6C29A5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.187 H 304.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6C29A5
RGBrgb(108, 41, 165)
HSLhsl(272, 60%, 40%)
HSVhsv(272, 75%, 65%)
CMYKcmyk(34.5%, 75.2%, 0%, 35.3%)
CIE-LABlab(32.90, 51.82, -54.38)
CIE-LCHlch(32.90, 75.12, 313.61°)
OKLaboklab(44.48% 0.1054 -0.1549)
OKLCHoklch(44.48% 0.187 304.2)
XYZxyz(13.7673, 7.4907, 36.3106)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C29A5 #62A529
analogous
#2E29A5 #6C29A5 #A529A0
triadic
#6C29A5 #A56C29 #29A56C
tetradic
#6C29A5 #A52E29 #62A529 #29A0A5
square
#6C29A5 #A52E29 #62A529 #29A0A5
split-complementary
#6C29A5 #A0A529 #29A52E
monochromatic
#2C1143 #4C1D74 #6C29A5 #8B3DCF #A96EDB

Accessibility & contrast

On white

8.41
#6C29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6C29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C29A5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C29A5#FFFFFF#000000##FFFFFF
##6C29A51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c29a5;
/* rgb */ color: rgb(108, 41, 165);
/* oklch */ color: oklch(44.5% 0.187 304.2);
Tailwind
colors: {
  custom: {
    50: '#9b6ac1',
    500: '#6c29a5',
    950: '#000000',
  },
}
SCSS
$custom: #6c29a5;
$custom-light: #9b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c29a5",
  "rgb": {
    "r": 108,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 272.419,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.18734,
    "h": 304.2
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#6C29A5
secondary
#91C268
accent
#E3448D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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