#6B29AB#6B29AB

#6B29AB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.193 H 302.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6B29AB
RGBrgb(107, 41, 171)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 76%, 67%)
CMYKcmyk(37.4%, 76%, 0%, 32.9%)
CIE-LABlab(33.25, 53.07, -57.43)
CIE-LCHlch(33.25, 78.20, 312.74°)
OKLaboklab(44.85% 0.1026 -0.1638)
OKLCHoklch(44.85% 0.193 302.1)
XYZxyz(14.2053, 7.6519, 39.2488)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29AB #69AB29
analogous
#2A29AB #6B29AB #AB29AA
triadic
#6B29AB #AB6B29 #29AB6B
tetradic
#6B29AB #AB2A29 #69AB29 #29AAAB
square
#6B29AB #AB2A29 #69AB29 #29AAAB
split-complementary
#6B29AB #AAAB29 #29AB2A
monochromatic
#2D1148 #4C1D7A #6B29AB #8A40D1 #A871DD

Accessibility & contrast

On white

8.30
#6B29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6B29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29AB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29AB#FFFFFF#000000##FFFFFF
##6B29AB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b29ab;
/* rgb */ color: rgb(107, 41, 171);
/* oklch */ color: oklch(44.8% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ac5',
    500: '#6b29ab',
    950: '#000000',
  },
}
SCSS
$custom: #6b29ab;
$custom-light: #9b6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29ab",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 270.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.19333,
    "h": 302.1
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#6B29AB
secondary
#97C46C
accent
#E44393
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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