#6643CC#6643CC

#6643CC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.3% C 0.200 H 288.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6643CC
RGBrgb(102, 67, 204)
HSLhsl(255, 57%, 53%)
HSVhsv(255, 67%, 80%)
CMYKcmyk(50%, 67.2%, 0%, 20%)
CIE-LABlab(39.91, 48.15, -66.01)
CIE-LCHlch(39.91, 81.71, 306.11°)
OKLaboklab(50.29% 0.0646 -0.1894)
OKLCHoklch(50.29% 0.2 288.8)
XYZxyz(18.3826, 11.1979, 58.3079)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643CC #A9CC43
analogous
#4365CC #6643CC #AA43CC
triadic
#6643CC #CC6643 #43CC66
tetradic
#6643CC #CC4365 #A9CC43 #43CCAA
square
#6643CC #CC4365 #A9CC43 #43CCAA
split-complementary
#6643CC #CCAA43 #65CC43
monochromatic
#352075 #4B2DA5 #6643CC #8D73D9 #B4A3E6

Accessibility & contrast

On white

6.48
#6643CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6643CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643CC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643CC#FFFFFF#000000##FFFFFF
##6643CC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#426582
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6643cc;
/* rgb */ color: rgb(102, 67, 204);
/* oklch */ color: oklch(50.3% 0.200 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a79dd',
    500: '#6643cc',
    950: '#000000',
  },
}
SCSS
$custom: #6643cc;
$custom-light: #9a79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6643cc",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 255.328,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.20008,
    "h": 288.8
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#6643CC
secondary
#C4D398
accent
#E147B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6643CC

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

Preview Lab → · Contrast checker → · Palette generator →

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