#6622BD#6622BD

#6622BD is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.2% C 0.218 H 296.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6622BD
RGBrgb(102, 34, 189)
HSLhsl(266, 70%, 44%)
HSVhsv(266, 82%, 74%)
CMYKcmyk(46%, 82%, 0%, 25.9%)
CIE-LABlab(33.23, 59.42, -68.19)
CIE-LCHlch(33.23, 90.44, 311.07°)
OKLaboklab(45.18% 0.0953 -0.1955)
OKLCHoklch(45.18% 0.218 296)
XYZxyz(15.2344, 7.6426, 48.8067)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6622BD #79BD22
analogous
#222BBD #6622BD #B322BD
triadic
#6622BD #BD6622 #22BD66
tetradic
#6622BD #BD222B #79BD22 #22BDB3
square
#6622BD #BD222B #79BD22 #22BDB3
split-complementary
#6622BD #BDB322 #2BBD22
monochromatic
#2E0F55 #4A1989 #6622BD #8440DD #A673E6

Accessibility & contrast

On white

8.30
#6622BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6622BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6622BD#FFFFFF#000000##FFFFFF
##6622BD1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#4D5071
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6622bd;
/* rgb */ color: rgb(102, 34, 189);
/* oklch */ color: oklch(45.2% 0.218 296.0);
Tailwind
colors: {
  custom: {
    50: '#9b67d2',
    500: '#6622bd',
    950: '#000000',
  },
}
SCSS
$custom: #6622bd;
$custom-light: #9b67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6622bd",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 266.323,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.21754,
    "h": 296
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#6622BD
secondary
#A3CD6E
accent
#EC3B9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6622BD

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

Preview Lab → · Contrast checker → · Palette generator →

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