#6B29B2#6B29B2

#6B29B2 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.201 H 300.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6B29B2
RGBrgb(107, 41, 178)
HSLhsl(269, 63%, 43%)
HSVhsv(269, 77%, 70%)
CMYKcmyk(39.9%, 77%, 0%, 30.2%)
CIE-LABlab(33.83, 54.76, -60.66)
CIE-LCHlch(33.83, 81.72, 312.08°)
OKLaboklab(45.44% 0.1009 -0.1733)
OKLCHoklch(45.44% 0.201 300.2)
XYZxyz(14.8902, 7.9259, 42.8562)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B29B2 #70B229
analogous
#292CB2 #6B29B2 #AF29B2
triadic
#6B29B2 #B26B29 #29B26B
tetradic
#6B29B2 #B2292C #70B229 #29B2AF
square
#6B29B2 #B2292C #70B229 #29B2AF
split-complementary
#6B29B2 #B2AF29 #2CB229
monochromatic
#2F124F #4D1E80 #6B29B2 #8944D4 #A976DF

Accessibility & contrast

On white

8.12
#6B29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6B29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B29B2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B29B2#FFFFFF#000000##FFFFFF
##6B29B21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#5A4D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b29b2;
/* rgb */ color: rgb(107, 41, 178);
/* oklch */ color: oklch(45.4% 0.201 300.2);
Tailwind
colors: {
  custom: {
    50: '#9c6aca',
    500: '#6b29b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b29b2;
$custom-light: #9c6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b29b2",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 268.905,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.20055,
    "h": 300.2
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#6B29B2
secondary
#9DC770
accent
#E64297
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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