#6646BD#6646BD

#6646BD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.178 H 290.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6646BD
RGBrgb(102, 70, 189)
HSLhsl(256, 47%, 51%)
HSVhsv(256, 63%, 74%)
CMYKcmyk(46%, 63%, 0%, 25.9%)
CIE-LABlab(39.38, 42.21, -58.15)
CIE-LCHlch(39.38, 71.85, 305.97°)
OKLaboklab(49.54% 0.0633 -0.1662)
OKLCHoklch(49.54% 0.178 290.8)
XYZxyz(16.8524, 10.8786, 49.3461)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646BD #9DBD46
analogous
#4662BD #6646BD #A146BD
triadic
#6646BD #BD6646 #46BD66
tetradic
#6646BD #BD4662 #9DBD46 #46BDA1
square
#6646BD #BD4662 #9DBD46 #46BDA1
split-complementary
#6646BD #BDA146 #62BD46
monochromatic
#352465 #4D3492 #6646BD #8B73CD #B1A0DD

Accessibility & contrast

On white

6.61
#6646BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6646BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646BD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646BD#FFFFFF#000000##FFFFFF
##6646BD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#4B627B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6646bd;
/* rgb */ color: rgb(102, 70, 189);
/* oklch */ color: oklch(49.5% 0.178 290.8);
Tailwind
colors: {
  custom: {
    50: '#987bd2',
    500: '#6646bd',
    950: '#000000',
  },
}
SCSS
$custom: #6646bd;
$custom-light: #987bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6646bd",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 256.134,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.17789,
    "h": 290.8
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#6646BD
secondary
#BCCA95
accent
#D751B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6646BD

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

Preview Lab → · Contrast checker → · Palette generator →

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