#6A29B1#6A29B1

#6A29B1 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.199 H 300.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6A29B1
RGBrgb(106, 41, 177)
HSLhsl(269, 62%, 43%)
HSVhsv(269, 77%, 69%)
CMYKcmyk(40.1%, 76.8%, 0%, 30.6%)
CIE-LABlab(33.61, 54.36, -60.42)
CIE-LCHlch(33.61, 81.27, 311.98°)
OKLaboklab(45.23% 0.0997 -0.1727)
OKLCHoklch(45.23% 0.199 300)
XYZxyz(14.6706, 7.8242, 42.3238)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29B1 #70B129
analogous
#292CB1 #6A29B1 #AE29B1
triadic
#6A29B1 #B16A29 #29B16A
tetradic
#6A29B1 #B1292C #70B129 #29B1AE
square
#6A29B1 #B1292C #70B129 #29B1AE
split-complementary
#6A29B1 #B1AE29 #2CB129
monochromatic
#2E124E #4C1D7F #6A29B1 #8844D4 #A875DF

Accessibility & contrast

On white

8.19
#6A29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6A29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29B1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29B1#FFFFFF#000000##FFFFFF
##6A29B11.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#594D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a29b1;
/* rgb */ color: rgb(106, 41, 177);
/* oklch */ color: oklch(45.2% 0.199 300.0);
Tailwind
colors: {
  custom: {
    50: '#9b6ac9',
    500: '#6a29b1',
    950: '#000000',
  },
}
SCSS
$custom: #6a29b1;
$custom-light: #9b6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29b1",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 268.676,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.19937,
    "h": 300
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#6A29B1
secondary
#9DC76F
accent
#E54297
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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