#6643DC#6643DC

#6643DC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.219 H 286.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6643DC
RGBrgb(102, 67, 220)
HSLhsl(254, 69%, 56%)
HSVhsv(254, 70%, 86%)
CMYKcmyk(53.6%, 69.5%, 0%, 13.7%)
CIE-LABlab(41.22, 52.71, -73.07)
CIE-LCHlch(41.22, 90.10, 305.81°)
OKLaboklab(51.63% 0.062 -0.2101)
OKLCHoklch(51.63% 0.219 286.4)
XYZxyz(20.4011, 12.0053, 68.9385)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643DC #B9DC43
analogous
#436DDC #6643DC #B243DC
triadic
#6643DC #DC6643 #43DC66
tetradic
#6643DC #DC436D #B9DC43 #43DCB2
square
#6643DC #DC436D #B9DC43 #43DCB2
split-complementary
#6643DC #DCB243 #6DDC43
monochromatic
#341A8B #4723BE #6643DC #9077E6 #BAAAEF

Accessibility & contrast

On white

6.17
#6643DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6643DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643DC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643DC#FFFFFF#000000##FFFFFF
##6643DC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#346B8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6643dc;
/* rgb */ color: rgb(102, 67, 220);
/* oklch */ color: oklch(51.6% 0.219 286.4);
Tailwind
colors: {
  custom: {
    50: '#9d7ae8',
    500: '#6643dc',
    950: '#000000',
  },
}
SCSS
$custom: #6643dc;
$custom-light: #9d7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#6643dc",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 253.725,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.21904,
    "h": 286.4
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

primary
#6643DC
secondary
#CEDD9E
accent
#EB3CC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6643DC

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

Preview Lab → · Contrast checker → · Palette generator →

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