#6643BE#6643BE

#6643BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.183 H 291.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6643BE
RGBrgb(102, 67, 190)
HSLhsl(257, 49%, 50%)
HSVhsv(257, 65%, 75%)
CMYKcmyk(46.3%, 64.7%, 0%, 25.5%)
CIE-LABlab(38.82, 44.18, -59.63)
CIE-LCHlch(38.82, 74.21, 306.53°)
OKLaboklab(49.16% 0.0664 -0.1706)
OKLCHoklch(49.16% 0.183 291.3)
XYZxyz(16.7783, 10.5562, 49.8587)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643BE #9BBE43
analogous
#435DBE #6643BE #A343BE
triadic
#6643BE #BE6643 #43BE66
tetradic
#6643BE #BE435D #9BBE43 #43BEA3
square
#6643BE #BE435D #9BBE43 #43BEA3
split-complementary
#6643BE #BEA343 #5DBE43
monochromatic
#352364 #4D3291 #6643BE #8B70CE #B09EDD

Accessibility & contrast

On white

6.75
#6643BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6643BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643BE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643BE#FFFFFF#000000##FFFFFF
##6643BE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#4B607A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6643be;
/* rgb */ color: rgb(102, 67, 190);
/* oklch */ color: oklch(49.2% 0.183 291.3);
Tailwind
colors: {
  custom: {
    50: '#9979d2',
    500: '#6643be',
    950: '#000000',
  },
}
SCSS
$custom: #6643be;
$custom-light: #9979d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6643be",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 257.073,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.18307,
    "h": 291.3
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#6643BE
secondary
#BACA93
accent
#D850B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6643BE

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

Preview Lab → · Contrast checker → · Palette generator →

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