#6A29B6#6A29B6

#6A29B6 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.205 H 298.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6A29B6
RGBrgb(106, 41, 182)
HSLhsl(268, 63%, 44%)
HSVhsv(268, 77%, 71%)
CMYKcmyk(41.8%, 77.5%, 0%, 28.6%)
CIE-LABlab(34.04, 55.58, -62.70)
CIE-LCHlch(34.04, 83.78, 311.56°)
OKLaboklab(45.66% 0.0983 -0.1794)
OKLCHoklch(45.66% 0.205 298.7)
XYZxyz(15.1781, 8.0272, 44.9966)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29B6 #75B629
analogous
#292EB6 #6A29B6 #B029B6
triadic
#6A29B6 #B66A29 #29B66A
tetradic
#6A29B6 #B6292E #75B629 #29B6B0
square
#6A29B6 #B6292E #75B629 #29B6B0
split-complementary
#6A29B6 #B6B029 #2EB629
monochromatic
#301252 #4D1E84 #6A29B6 #8947D5 #A979E1

Accessibility & contrast

On white

8.06
#6A29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6A29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29B6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29B6#FFFFFF#000000##FFFFFF
##6A29B61.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a29b6;
/* rgb */ color: rgb(106, 41, 182);
/* oklch */ color: oklch(45.7% 0.205 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c6acd',
    500: '#6a29b6',
    950: '#000000',
  },
}
SCSS
$custom: #6a29b6;
$custom-light: #9c6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29b6",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 267.66,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.20455,
    "h": 298.7
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#6A29B6
secondary
#A1C972
accent
#E6429A
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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