#6A29A8#6A29A8

#6A29A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.190 H 302.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6A29A8
RGBrgb(106, 41, 168)
HSLhsl(271, 61%, 41%)
HSVhsv(271, 76%, 66%)
CMYKcmyk(36.9%, 75.6%, 0%, 34.1%)
CIE-LABlab(32.87, 52.17, -56.25)
CIE-LCHlch(32.87, 76.72, 312.85°)
OKLaboklab(44.48% 0.1019 -0.1604)
OKLCHoklch(44.48% 0.19 302.4)
XYZxyz(13.8030, 7.4772, 37.7542)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A29A8 #67A829
analogous
#2A29A8 #6A29A8 #A829A6
triadic
#6A29A8 #A86A29 #29A86A
tetradic
#6A29A8 #A82A29 #67A829 #29A6A8
square
#6A29A8 #A82A29 #67A829 #29A6A8
split-complementary
#6A29A8 #A6A829 #29A82A
monochromatic
#2C1146 #4B1D77 #6A29A8 #893ED0 #A76FDC

Accessibility & contrast

On white

8.42
#6A29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6A29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A29A8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A29A8#FFFFFF#000000##FFFFFF
##6A29A81.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#5D4967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a29a8;
/* rgb */ color: rgb(106, 41, 168);
/* oklch */ color: oklch(44.5% 0.190 302.4);
Tailwind
colors: {
  custom: {
    50: '#9a6ac3',
    500: '#6a29a8',
    950: '#000000',
  },
}
SCSS
$custom: #6a29a8;
$custom-light: #9a6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a29a8",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 270.709,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44478,
    "c": 0.19003,
    "h": 302.4
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#6A29A8
secondary
#95C36A
accent
#E44492
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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