#6646DB#6646DB

#6646DB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.214 H 286.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6646DB
RGBrgb(102, 70, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53.4%, 68%, 0%, 14.1%)
CIE-LABlab(41.72, 50.83, -71.69)
CIE-LCHlch(41.72, 87.89, 305.34°)
OKLaboklab(51.96% 0.0596 -0.206)
OKLCHoklch(51.96% 0.214 286.1)
XYZxyz(20.4520, 12.3185, 68.3041)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646DB #BBDB46
analogous
#4671DB #6646DB #B146DB
triadic
#6646DB #DB6646 #46DB66
tetradic
#6646DB #DB4671 #BBDB46 #46DBB1
square
#6646DB #DB4671 #BBDB46 #46DBB1
split-complementary
#6646DB #DBB146 #71DB46
monochromatic
#331B8B #4625BF #6646DB #9079E5 #BBACEF

Accessibility & contrast

On white

6.06
#6646DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6646DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646DB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646DB#FFFFFF#000000##FFFFFF
##6646DB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#356C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6646db;
/* rgb */ color: rgb(102, 70, 219);
/* oklch */ color: oklch(52.0% 0.214 286.1);
Tailwind
colors: {
  custom: {
    50: '#9c7ce7',
    500: '#6646db',
    950: '#000000',
  },
}
SCSS
$custom: #6646db;
$custom-light: #9c7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6646db",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 252.886,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.21449,
    "h": 286.1
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#6646DB
secondary
#D0DDA0
accent
#EA3DC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6646DB

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

Preview Lab → · Contrast checker → · Palette generator →

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