#6620AC#6620AC

#6620AC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.202 H 300.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6620AC
RGBrgb(102, 32, 172)
HSLhsl(270, 69%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(40.7%, 81.4%, 0%, 32.5%)
CIE-LABlab(31.43, 56.05, -61.02)
CIE-LCHlch(31.43, 82.86, 312.57°)
OKLaboklab(43.46% 0.1023 -0.1745)
OKLCHoklch(43.46% 0.202 300.4)
XYZxyz(13.4405, 6.8362, 39.6331)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6620AC #66AC20
analogous
#2020AC #6620AC #AC20AC
triadic
#6620AC #AC6620 #20AC66
tetradic
#6620AC #AC2020 #66AC20 #20ACAC
square
#6620AC #AC2020 #66AC20 #20ACAC
split-complementary
#6620AC #ACAC20 #20AC20
monochromatic
#290D45 #471678 #6620AC #8531D9 #A364E2

Accessibility & contrast

On white

8.87
#6620AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6620AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6620AC#FFFFFF#000000##FFFFFF
##6620AC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#564867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6620ac;
/* rgb */ color: rgb(102, 32, 172);
/* oklch */ color: oklch(43.5% 0.202 300.4);
Tailwind
colors: {
  custom: {
    50: '#9965c6',
    500: '#6620ac',
    950: '#000000',
  },
}
SCSS
$custom: #6620ac;
$custom-light: #9965c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6620ac",
  "rgb": {
    "r": 102,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.20228,
    "h": 300.4
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#6620AC
secondary
#94C760
accent
#EB3C94
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6620AC

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

Preview Lab → · Contrast checker → · Palette generator →

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