#6622A3#6622A3

#6622A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 302.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6622A3
RGBrgb(102, 34, 163)
HSLhsl(272, 65%, 39%)
HSVhsv(272, 79%, 64%)
CMYKcmyk(37.4%, 79.1%, 0%, 36.1%)
CIE-LABlab(30.91, 53.16, -56.45)
CIE-LCHlch(30.91, 77.54, 313.28°)
OKLaboklab(42.86% 0.1034 -0.1611)
OKLCHoklch(42.86% 0.191 302.7)
XYZxyz(12.6608, 6.6132, 35.2527)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6622A3 #5FA322
analogous
#2522A3 #6622A3 #A3229F
triadic
#6622A3 #A36622 #22A366
tetradic
#6622A3 #A32522 #5FA322 #229FA3
square
#6622A3 #A32522 #5FA322 #229FA3
split-complementary
#6622A3 #9FA322 #22A325
monochromatic
#270D3E #461770 #6622A3 #862FD4 #A361DE

Accessibility & contrast

On white

9.04
#6622A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6622A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6622A3#FFFFFF#000000##FFFFFF
##6622A31.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#594462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6622a3;
/* rgb */ color: rgb(102, 34, 163);
/* oklch */ color: oklch(42.9% 0.191 302.7);
Tailwind
colors: {
  custom: {
    50: '#9866bf',
    500: '#6622a3',
    950: '#000000',
  },
}
SCSS
$custom: #6622a3;
$custom-light: #9866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6622a3",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 271.628,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.19143,
    "h": 302.7
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#6622A3
secondary
#8EC35E
accent
#E83F8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6622A3

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

Preview Lab → · Contrast checker → · Palette generator →

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