#6D29AB#6D29AB

#6D29AB is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.194 H 303.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6D29AB
RGBrgb(109, 41, 171)
HSLhsl(271, 61%, 42%)
HSVhsv(271, 76%, 67%)
CMYKcmyk(36.3%, 76%, 0%, 32.9%)
CIE-LABlab(33.51, 53.42, -56.98)
CIE-LCHlch(33.51, 78.11, 313.15°)
OKLaboklab(45.1% 0.1055 -0.1625)
OKLCHoklch(45.1% 0.194 303)
XYZxyz(14.4486, 7.7774, 39.2602)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D29AB #67AB29
analogous
#2C29AB #6D29AB #AB29A8
triadic
#6D29AB #AB6D29 #29AB6D
tetradic
#6D29AB #AB2C29 #67AB29 #29A8AB
square
#6D29AB #AB2C29 #67AB29 #29A8AB
split-complementary
#6D29AB #A8AB29 #29AB2C
monochromatic
#2E1148 #4E1D7A #6D29AB #8C40D1 #AA71DD

Accessibility & contrast

On white

8.22
#6D29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D29AB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D29AB#FFFFFF#000000##FFFFFF
##6D29AB1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#604A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d29ab;
/* rgb */ color: rgb(109, 41, 171);
/* oklch */ color: oklch(45.1% 0.194 303.0);
Tailwind
colors: {
  custom: {
    50: '#9d6ac5',
    500: '#6d29ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d29ab;
$custom-light: #9d6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d29ab",
  "rgb": {
    "r": 109,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 271.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.19371,
    "h": 303
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#6D29AB
secondary
#96C46C
accent
#E44390
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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