#6646BF#6646BF

#6646BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.180 H 290.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6646BF
RGBrgb(102, 70, 191)
HSLhsl(256, 49%, 51%)
HSVhsv(256, 63%, 75%)
CMYKcmyk(46.6%, 63.4%, 0%, 25.1%)
CIE-LABlab(39.52, 42.78, -59.08)
CIE-LCHlch(39.52, 72.94, 305.91°)
OKLaboklab(49.69% 0.0631 -0.169)
OKLCHoklch(49.69% 0.18 290.5)
XYZxyz(17.0710, 10.9661, 50.4973)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646BF #9FBF46
analogous
#4662BF #6646BF #A246BF
triadic
#6646BF #BF6646 #46BF66
tetradic
#6646BF #BF4662 #9FBF46 #46BFA2
square
#6646BF #BF4662 #9FBF46 #46BFA2
split-complementary
#6646BF #BFA246 #62BF46
monochromatic
#352467 #4D3394 #6646BF #8C73CF #B1A1DE

Accessibility & contrast

On white

6.58
#6646BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6646BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646BF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646BF#FFFFFF#000000##FFFFFF
##6646BF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#4A637C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6646bf;
/* rgb */ color: rgb(102, 70, 191);
/* oklch */ color: oklch(49.7% 0.180 290.5);
Tailwind
colors: {
  custom: {
    50: '#987bd3',
    500: '#6646bf',
    950: '#000000',
  },
}
SCSS
$custom: #6646bf;
$custom-light: #987bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6646bf",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 255.868,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.18039,
    "h": 290.5
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#6646BF
secondary
#BDCB96
accent
#D850B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6646BF

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

Preview Lab → · Contrast checker → · Palette generator →

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