#6623AA#6623AA

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

Color values

HEX#6623AA
RGBrgb(102, 35, 170)
HSLhsl(270, 66%, 40%)
HSVhsv(270, 79%, 67%)
CMYKcmyk(40%, 79.4%, 0%, 33.3%)
CIE-LABlab(31.64, 54.44, -59.47)
CIE-LCHlch(31.64, 80.63, 312.47°)
OKLaboklab(43.56% 0.1006 -0.17)
OKLCHoklch(43.56% 0.198 300.6)
XYZxyz(13.3344, 6.9290, 38.6573)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6623AA #67AA23
analogous
#2323AA #6623AA #AA23AA
triadic
#6623AA #AA6623 #23AA66
tetradic
#6623AA #AA2323 #67AA23 #23AAAA
square
#6623AA #AA2323 #67AA23 #23AAAA
split-complementary
#6623AA #AAAA23 #23AA23
monochromatic
#290E44 #481977 #6623AA #8535D5 #A368E0

Accessibility & contrast

On white

8.80
#6623AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6623AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6623AA
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6623AA#FFFFFF#000000##FFFFFF
##6623AA1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#564867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6623aa;
/* rgb */ color: rgb(102, 35, 170);
/* oklch */ color: oklch(43.6% 0.198 300.6);
Tailwind
colors: {
  custom: {
    50: '#9866c4',
    500: '#6623aa',
    950: '#000000',
  },
}
SCSS
$custom: #6623aa;
$custom-light: #9866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6623aa",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 269.778,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.19752,
    "h": 300.6
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#6623AA
secondary
#95C663
accent
#E93F95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6623AA

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

Preview Lab → · Contrast checker → · Palette generator →

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