#6A29AB#6A29AB

#6A29AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.193 H 301.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6A29AB
RGBrgb(106, 41, 171)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 76%, 67%)
CMYKcmyk(38%, 76%, 0%, 32.9%)
CIE-LABlab(33.11, 52.90, -57.65)
CIE-LCHlch(33.11, 78.24, 312.54°)
OKLaboklab(44.73% 0.1012 -0.1645)
OKLCHoklch(44.73% 0.193 301.6)
XYZxyz(14.0857, 7.5902, 39.2432)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29AB #6AAB29
analogous
#2929AB #6A29AB #AB29AB
triadic
#6A29AB #AB6A29 #29AB6A
tetradic
#6A29AB #AB2929 #6AAB29 #29ABAB
square
#6A29AB #AB2929 #6AAB29 #29ABAB
split-complementary
#6A29AB #ABAB29 #29AB29
monochromatic
#2D1148 #4B1D7A #6A29AB #8940D1 #A771DD

Accessibility & contrast

On white

8.34
#6A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6A29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29AB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29AB#FFFFFF#000000##FFFFFF
##6A29AB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#5C4B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a29ab;
/* rgb */ color: rgb(106, 41, 171);
/* oklch */ color: oklch(44.7% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ac5',
    500: '#6a29ab',
    950: '#000000',
  },
}
SCSS
$custom: #6a29ab;
$custom-light: #9b6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29ab",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 270,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.19315,
    "h": 301.6
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#6A29AB
secondary
#98C46C
accent
#E44394
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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