#6620AA#6620AA

#6620AA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.200 H 300.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6620AA
RGBrgb(102, 32, 170)
HSLhsl(270, 68%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(40%, 81.2%, 0%, 33.3%)
CIE-LABlab(31.25, 55.57, -60.11)
CIE-LCHlch(31.25, 81.86, 312.75°)
OKLaboklab(43.29% 0.1029 -0.1718)
OKLCHoklch(43.29% 0.2 300.9)
XYZxyz(13.2499, 6.7600, 38.6292)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6620AA #64AA20
analogous
#2120AA #6620AA #AA20A9
triadic
#6620AA #AA6620 #20AA66
tetradic
#6620AA #AA2120 #64AA20 #20A9AA
square
#6620AA #AA2120 #64AA20 #20A9AA
split-complementary
#6620AA #A9AA20 #20AA21
monochromatic
#280D43 #471676 #6620AA #852FD8 #A363E2

Accessibility & contrast

On white

8.93
#6620AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6620AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6620AA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6620AA#FFFFFF#000000##FFFFFF
##6620AA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6620aa;
/* rgb */ color: rgb(102, 32, 170);
/* oklch */ color: oklch(43.3% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#9865c4',
    500: '#6620aa',
    950: '#000000',
  },
}
SCSS
$custom: #6620aa;
$custom-light: #9865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6620aa",
  "rgb": {
    "r": 102,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 270.435,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.2003,
    "h": 300.9
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#6620AA
secondary
#92C75F
accent
#EB3D93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6620AA

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

Preview Lab → · Contrast checker → · Palette generator →

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