#6646DC#6646DC

#6646DC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.216 H 286.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6646DC
RGBrgb(102, 70, 220)
HSLhsl(253, 68%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53.6%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.80, 51.12, -72.13)
CIE-LCHlch(41.80, 88.41, 305.33°)
OKLaboklab(52.04% 0.0594 -0.2073)
OKLCHoklch(52.04% 0.216 286)
XYZxyz(20.5840, 12.3713, 68.9995)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646DC #BCDC46
analogous
#4671DC #6646DC #B146DC
triadic
#6646DC #DC6646 #46DC66
tetradic
#6646DC #DC4671 #BCDC46 #46DCB1
square
#6646DC #DC4671 #BCDC46 #46DCB1
split-complementary
#6646DC #DCB146 #71DC46
monochromatic
#331B8D #4624C0 #6646DC #9179E6 #BBADEF

Accessibility & contrast

On white

6.04
#6646DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6646DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646DC#FFFFFF#000000##FFFFFF
##6646DC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#346D8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6646dc;
/* rgb */ color: rgb(102, 70, 220);
/* oklch */ color: oklch(52.0% 0.216 286.0);
Tailwind
colors: {
  custom: {
    50: '#9c7ce8',
    500: '#6646dc',
    950: '#000000',
  },
}
SCSS
$custom: #6646dc;
$custom-light: #9c7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#6646dc",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 252.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52045,
    "c": 0.21567,
    "h": 286
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6646DC

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

Preview Lab → · Contrast checker → · Palette generator →

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