#6B29C6#6B29C6

#6B29C6 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.221 H 295.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6B29C6
RGBrgb(107, 41, 198)
HSLhsl(265, 66%, 47%)
HSVhsv(265, 79%, 78%)
CMYKcmyk(46%, 79.3%, 0%, 22.4%)
CIE-LABlab(35.57, 59.67, -69.60)
CIE-LCHlch(35.57, 91.68, 310.61°)
OKLaboklab(47.19% 0.0952 -0.1996)
OKLCHoklch(47.19% 0.221 295.5)
XYZxyz(17.0466, 8.7884, 54.2133)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29C6 #84C629
analogous
#2936C6 #6B29C6 #BA29C6
triadic
#6B29C6 #C66B29 #29C66B
tetradic
#6B29C6 #C62936 #84C629 #29C6BA
square
#6B29C6 #C62936 #84C629 #29C6BA
split-complementary
#6B29C6 #C6BA29 #36C629
monochromatic
#341461 #501F93 #6B29C6 #8B51DB #AD84E6

Accessibility & contrast

On white

7.61
#6B29C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6B29C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29C6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29C6#FFFFFF#000000##FFFFFF
##6B29C61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#515678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b29c6;
/* rgb */ color: rgb(107, 41, 198);
/* oklch */ color: oklch(47.2% 0.221 295.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bd8',
    500: '#6b29c6',
    950: '#000000',
  },
}
SCSS
$custom: #6b29c6;
$custom-light: #9e6bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29c6",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 265.223,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.22109,
    "h": 295.5
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#6B29C6
secondary
#ACCF7C
accent
#E93FA1
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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