#6B29B6#6B29B6

#6B29B6 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.205 H 299.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6B29B6
RGBrgb(107, 41, 182)
HSLhsl(268, 63%, 44%)
HSVhsv(268, 77%, 71%)
CMYKcmyk(41.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(34.17, 55.74, -62.48)
CIE-LCHlch(34.17, 83.73, 311.74°)
OKLaboklab(45.78% 0.0998 -0.1787)
OKLCHoklch(45.78% 0.205 299.2)
XYZxyz(15.2977, 8.0889, 45.0022)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29B6 #74B629
analogous
#292DB6 #6B29B6 #B129B6
triadic
#6B29B6 #B66B29 #29B66B
tetradic
#6B29B6 #B6292D #74B629 #29B6B1
square
#6B29B6 #B6292D #74B629 #29B6B1
split-complementary
#6B29B6 #B6B129 #2DB629
monochromatic
#301252 #4E1E84 #6B29B6 #8A47D5 #A979E1

Accessibility & contrast

On white

8.02
#6B29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6B29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29B6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29B6#FFFFFF#000000##FFFFFF
##6B29B61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#594F6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b29b6;
/* rgb */ color: rgb(107, 41, 182);
/* oklch */ color: oklch(45.8% 0.205 299.2);
Tailwind
colors: {
  custom: {
    50: '#9c6acd',
    500: '#6b29b6',
    950: '#000000',
  },
}
SCSS
$custom: #6b29b6;
$custom-light: #9c6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29b6",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 268.085,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.20468,
    "h": 299.2
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#6B29B6
secondary
#A0C972
accent
#E64299
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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