#6629A3#6629A3

#6629A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.184 H 301.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6629A3
RGBrgb(102, 41, 163)
HSLhsl(270, 60%, 40%)
HSVhsv(270, 75%, 64%)
CMYKcmyk(37.4%, 74.8%, 0%, 36.1%)
CIE-LABlab(31.93, 50.23, -54.79)
CIE-LCHlch(31.93, 74.33, 312.51°)
OKLaboklab(43.58% 0.0972 -0.1563)
OKLCHoklch(43.58% 0.184 301.9)
XYZxyz(12.8817, 7.0549, 35.3263)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629A3 #66A329
analogous
#2929A3 #6629A3 #A329A3
triadic
#6629A3 #A36629 #29A366
tetradic
#6629A3 #A32929 #66A329 #29A3A3
square
#6629A3 #A32929 #66A329 #29A3A3
split-complementary
#6629A3 #A3A329 #29A329
monochromatic
#291041 #471D72 #6629A3 #853BCE #A36CDA

Accessibility & contrast

On white

8.71
#6629A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6629A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6629A3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6629A3#FFFFFF#000000##FFFFFF
##6629A31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#594864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6629a3;
/* rgb */ color: rgb(102, 41, 163);
/* oklch */ color: oklch(43.6% 0.184 301.9);
Tailwind
colors: {
  custom: {
    50: '#9769bf',
    500: '#6629a3',
    950: '#000000',
  },
}
SCSS
$custom: #6629a3;
$custom-light: #9769bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6629a3",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 270,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.18403,
    "h": 301.9
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#6629A3
secondary
#94C167
accent
#E34594
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6629A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6629A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva