#6B29B0#6B29B0

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

Color values

HEX#6B29B0
RGBrgb(107, 41, 176)
HSLhsl(269, 62%, 43%)
HSVhsv(269, 77%, 69%)
CMYKcmyk(39.2%, 76.7%, 0%, 31%)
CIE-LABlab(33.66, 54.28, -59.74)
CIE-LCHlch(33.66, 80.72, 312.26°)
OKLaboklab(45.27% 0.1014 -0.1706)
OKLCHoklch(45.27% 0.199 300.7)
XYZxyz(14.6909, 7.8461, 41.8064)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29B0 #6EB029
analogous
#292BB0 #6B29B0 #AE29B0
triadic
#6B29B0 #B06B29 #29B06B
tetradic
#6B29B0 #B0292B #6EB029 #29B0AE
square
#6B29B0 #B0292B #6EB029 #29B0AE
split-complementary
#6B29B0 #B0AE29 #2BB029
monochromatic
#2F124D #4D1D7E #6B29B0 #8943D3 #A975DF

Accessibility & contrast

On white

8.17
#6B29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6B29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29B0
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29B0#FFFFFF#000000##FFFFFF
##6B29B01.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#5B4C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b29b0;
/* rgb */ color: rgb(107, 41, 176);
/* oklch */ color: oklch(45.3% 0.199 300.7);
Tailwind
colors: {
  custom: {
    50: '#9c6ac9',
    500: '#6b29b0',
    950: '#000000',
  },
}
SCSS
$custom: #6b29b0;
$custom-light: #9c6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29b0",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 269.333,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.1985,
    "h": 300.7
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#6B29B0
secondary
#9BC66F
accent
#E54396
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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