#6A29C2#6A29C2

#6A29C2 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.217 H 295.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6A29C2
RGBrgb(106, 41, 194)
HSLhsl(265, 65%, 46%)
HSVhsv(265, 79%, 76%)
CMYKcmyk(45.4%, 78.9%, 0%, 23.9%)
CIE-LABlab(35.09, 58.54, -68.05)
CIE-LCHlch(35.09, 89.76, 310.70°)
OKLaboklab(46.72% 0.0949 -0.1951)
OKLCHoklch(46.72% 0.217 295.9)
XYZxyz(16.4718, 8.5447, 51.8099)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29C2 #81C229
analogous
#2935C2 #6A29C2 #B629C2
triadic
#6A29C2 #C26A29 #29C26A
tetradic
#6A29C2 #C22935 #81C229 #29C2B6
square
#6A29C2 #C22935 #81C229 #29C2B6
split-complementary
#6A29C2 #C2B629 #35C229
monochromatic
#33145D #4E1E8F #6A29C2 #8A4EDA #AB81E4

Accessibility & contrast

On white

7.75
#6A29C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6A29C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29C2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29C2#FFFFFF#000000##FFFFFF
##6A29C21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#515476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a29c2;
/* rgb */ color: rgb(106, 41, 194);
/* oklch */ color: oklch(46.7% 0.217 295.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bd6',
    500: '#6a29c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a29c2;
$custom-light: #9d6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29c2",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 265.49,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.21692,
    "h": 295.9
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#6A29C2
secondary
#AACD7A
accent
#E840A1
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A29C2

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

Preview Lab → · Contrast checker → · Palette generator →

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