#6A29A6#6A29A6

#6A29A6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.188 H 303.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6A29A6
RGBrgb(106, 41, 166)
HSLhsl(271, 60%, 41%)
HSVhsv(271, 75%, 65%)
CMYKcmyk(36.1%, 75.3%, 0%, 34.9%)
CIE-LABlab(32.71, 51.69, -55.31)
CIE-LCHlch(32.71, 75.70, 313.06°)
OKLaboklab(44.31% 0.1023 -0.1577)
OKLCHoklch(44.31% 0.188 303)
XYZxyz(13.6181, 7.4032, 36.7805)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29A6 #65A629
analogous
#2C29A6 #6A29A6 #A629A3
triadic
#6A29A6 #A66A29 #29A66A
tetradic
#6A29A6 #A62C29 #65A629 #29A3A6
square
#6A29A6 #A62C29 #65A629 #29A3A6
split-complementary
#6A29A6 #A3A629 #29A62C
monochromatic
#2B1144 #4B1D75 #6A29A6 #893DCF #A76EDB

Accessibility & contrast

On white

8.47
#6A29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6A29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29A6
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29A6#FFFFFF#000000##FFFFFF
##6A29A61.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5E4866
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a29a6;
/* rgb */ color: rgb(106, 41, 166);
/* oklch */ color: oklch(44.3% 0.188 303.0);
Tailwind
colors: {
  custom: {
    50: '#9a69c1',
    500: '#6a29a6',
    950: '#000000',
  },
}
SCSS
$custom: #6a29a6;
$custom-light: #9a69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29a6",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 271.2,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.18795,
    "h": 303
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#6A29A6
secondary
#94C269
accent
#E44491
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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