#6A29A4#6A29A4

#6A29A4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 303.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6A29A4
RGBrgb(106, 41, 164)
HSLhsl(272, 60%, 40%)
HSVhsv(272, 75%, 64%)
CMYKcmyk(35.4%, 75%, 0%, 35.7%)
CIE-LABlab(32.55, 51.21, -54.37)
CIE-LCHlch(32.55, 74.68, 313.29°)
OKLaboklab(44.15% 0.1028 -0.1549)
OKLCHoklch(44.15% 0.186 303.6)
XYZxyz(13.4361, 7.3304, 35.8218)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29A4 #63A429
analogous
#2C29A4 #6A29A4 #A429A1
triadic
#6A29A4 #A46A29 #29A46A
tetradic
#6A29A4 #A42C29 #63A429 #29A1A4
square
#6A29A4 #A42C29 #63A429 #29A1A4
split-complementary
#6A29A4 #A1A429 #29A42C
monochromatic
#2B1142 #4A1D73 #6A29A4 #893CCE #A76DDA

Accessibility & contrast

On white

8.52
#6A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29A4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29A4#FFFFFF#000000##FFFFFF
##6A29A41.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#5E4865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a29a4;
/* rgb */ color: rgb(106, 41, 164);
/* oklch */ color: oklch(44.2% 0.186 303.6);
Tailwind
colors: {
  custom: {
    50: '#9a69c0',
    500: '#6a29a4',
    950: '#000000',
  },
}
SCSS
$custom: #6a29a4;
$custom-light: #9a69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29a4",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 271.707,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.18586,
    "h": 303.6
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#6A29A4
secondary
#92C168
accent
#E3458F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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