#6A29A5#6A29A5

#6A29A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.187 H 303.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6A29A5
RGBrgb(106, 41, 165)
HSLhsl(271, 60%, 40%)
HSVhsv(271, 75%, 65%)
CMYKcmyk(35.8%, 75.2%, 0%, 35.3%)
CIE-LABlab(32.63, 51.45, -54.84)
CIE-LCHlch(32.63, 75.19, 313.17°)
OKLaboklab(44.23% 0.1025 -0.1563)
OKLCHoklch(44.23% 0.187 303.3)
XYZxyz(13.5267, 7.3667, 36.2993)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29A5 #64A529
analogous
#2C29A5 #6A29A5 #A529A2
triadic
#6A29A5 #A56A29 #29A56A
tetradic
#6A29A5 #A52C29 #64A529 #29A2A5
square
#6A29A5 #A52C29 #64A529 #29A2A5
split-complementary
#6A29A5 #A2A529 #29A52C
monochromatic
#2B1143 #4B1D74 #6A29A5 #893DCF #A76EDB

Accessibility & contrast

On white

8.49
#6A29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29A5
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29A5#FFFFFF#000000##FFFFFF
##6A29A51.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#5E4865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a29a5;
/* rgb */ color: rgb(106, 41, 165);
/* oklch */ color: oklch(44.2% 0.187 303.3);
Tailwind
colors: {
  custom: {
    50: '#9a69c1',
    500: '#6a29a5',
    950: '#000000',
  },
}
SCSS
$custom: #6a29a5;
$custom-light: #9a69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29a5",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 271.452,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.18691,
    "h": 303.3
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#6A29A5
secondary
#93C268
accent
#E34490
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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