#6646BE#6646BE

#6646BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.179 H 290.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6646BE
RGBrgb(102, 70, 190)
HSLhsl(256, 48%, 51%)
HSVhsv(256, 63%, 75%)
CMYKcmyk(46.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(39.45, 42.49, -58.62)
CIE-LCHlch(39.45, 72.40, 305.94°)
OKLaboklab(49.62% 0.0632 -0.1676)
OKLCHoklch(49.62% 0.179 290.7)
XYZxyz(16.9613, 10.9222, 49.9197)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646BE #9EBE46
analogous
#4662BE #6646BE #A246BE
triadic
#6646BE #BE6646 #46BE66
tetradic
#6646BE #BE4662 #9EBE46 #46BEA2
square
#6646BE #BE4662 #9EBE46 #46BEA2
split-complementary
#6646BE #BEA246 #62BE46
monochromatic
#352466 #4D3493 #6646BE #8B73CE #B1A1DE

Accessibility & contrast

On white

6.59
#6646BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6646BE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646BE#FFFFFF#000000##FFFFFF
##6646BE1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6646be;
/* rgb */ color: rgb(102, 70, 190);
/* oklch */ color: oklch(49.6% 0.179 290.7);
Tailwind
colors: {
  custom: {
    50: '#987bd2',
    500: '#6646be',
    950: '#000000',
  },
}
SCSS
$custom: #6646be;
$custom-light: #987bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6646be",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 256,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.17914,
    "h": 290.7
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6646BE

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

Preview Lab → · Contrast checker → · Palette generator →

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