#6622AA#6622AA

#6622AA is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.198 H 300.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6622AA
RGBrgb(102, 34, 170)
HSLhsl(270, 67%, 40%)
HSVhsv(270, 80%, 67%)
CMYKcmyk(40%, 80%, 0%, 33.3%)
CIE-LABlab(31.51, 54.83, -59.69)
CIE-LCHlch(31.51, 81.05, 312.57°)
OKLaboklab(43.46% 0.1014 -0.1706)
OKLCHoklch(43.46% 0.198 300.7)
XYZxyz(13.3054, 6.8710, 38.6477)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6622AA #66AA22
analogous
#2222AA #6622AA #AA22AA
triadic
#6622AA #AA6622 #22AA66
tetradic
#6622AA #AA2222 #66AA22 #22AAAA
square
#6622AA #AA2222 #66AA22 #22AAAA
split-complementary
#6622AA #AAAA22 #22AA22
monochromatic
#290E44 #471877 #6622AA #8533D6 #A366E0

Accessibility & contrast

On white

8.85
#6622AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6622AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6622AA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6622AA#FFFFFF#000000##FFFFFF
##6622AA1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#564766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6622aa;
/* rgb */ color: rgb(102, 34, 170);
/* oklch */ color: oklch(43.5% 0.198 300.7);
Tailwind
colors: {
  custom: {
    50: '#9866c4',
    500: '#6622aa',
    950: '#000000',
  },
}
SCSS
$custom: #6622aa;
$custom-light: #9866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6622aa",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.19848,
    "h": 300.7
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#6622AA
secondary
#94C662
accent
#EA3E94
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6622AA

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

Preview Lab → · Contrast checker → · Palette generator →

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