#6629AA#6629AA

#6629AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.191 H 299.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6629AA
RGBrgb(102, 41, 170)
HSLhsl(268, 61%, 41%)
HSVhsv(268, 76%, 67%)
CMYKcmyk(40%, 75.9%, 0%, 33.3%)
CIE-LABlab(32.51, 51.96, -58.06)
CIE-LCHlch(32.51, 77.91, 311.82°)
OKLaboklab(44.16% 0.0956 -0.1659)
OKLCHoklch(44.16% 0.191 299.9)
XYZxyz(13.5263, 7.3128, 38.7213)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629AA #6DAA29
analogous
#292DAA #6629AA #A729AA
triadic
#6629AA #AA6629 #29AA66
tetradic
#6629AA #AA292D #6DAA29 #29AAA7
square
#6629AA #AA292D #6DAA29 #29AAA7
split-complementary
#6629AA #AAA729 #2DAA29
monochromatic
#2B1147 #481D79 #6629AA #843FD1 #A471DD

Accessibility & contrast

On white

8.53
#6629AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6629AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6629AA#FFFFFF#000000##FFFFFF
##6629AA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#564B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6629aa;
/* rgb */ color: rgb(102, 41, 170);
/* oklch */ color: oklch(44.2% 0.191 299.9);
Tailwind
colors: {
  custom: {
    50: '#9869c4',
    500: '#6629aa',
    950: '#000000',
  },
}
SCSS
$custom: #6629aa;
$custom-light: #9869c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6629aa",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 268.372,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.19144,
    "h": 299.9
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#6629AA
secondary
#9AC46B
accent
#E44498
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6629AA

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

Preview Lab → · Contrast checker → · Palette generator →

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