#6646AC#6646AC

#6646AC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.3% C 0.156 H 294.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6646AC
RGBrgb(102, 70, 172)
HSLhsl(259, 42%, 47%)
HSVhsv(259, 59%, 67%)
CMYKcmyk(40.7%, 59.3%, 0%, 32.5%)
CIE-LABlab(38.17, 37.40, -50.07)
CIE-LCHlch(38.17, 62.49, 306.75°)
OKLaboklab(48.28% 0.0642 -0.1425)
OKLCHoklch(48.28% 0.156 294.2)
XYZxyz(15.1141, 10.1833, 40.1910)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646AC #8CAC46
analogous
#4659AC #6646AC #9946AC
triadic
#6646AC #AC6646 #46AC66
tetradic
#6646AC #AC4659 #8CAC46 #46AC99
square
#6646AC #AC4659 #8CAC46 #46AC99
split-complementary
#6646AC #AC9946 #59AC46
monochromatic
#322355 #4C3481 #6646AC #876CC3 #AB98D5

Accessibility & contrast

On white

6.92
#6646AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6646AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646AC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646AC#FFFFFF#000000##FFFFFF
##6646AC1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#1558AA
Tritanopia (blue-blind)
#545C72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6646ac;
/* rgb */ color: rgb(102, 70, 172);
/* oklch */ color: oklch(48.3% 0.156 294.2);
Tailwind
colors: {
  custom: {
    50: '#967bc5',
    500: '#6646ac',
    950: '#000000',
  },
}
SCSS
$custom: #6646ac;
$custom-light: #967bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6646ac",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 258.824,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.15628,
    "h": 294.2
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#6646AC
secondary
#B1C18D
accent
#D256AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6646AC

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

Preview Lab → · Contrast checker → · Palette generator →

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