#6645BF#6645BF

#6645BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.182 H 290.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6645BF
RGBrgb(102, 69, 191)
HSLhsl(256, 49%, 51%)
HSVhsv(256, 64%, 75%)
CMYKcmyk(46.6%, 63.9%, 0%, 25.1%)
CIE-LABlab(39.31, 43.34, -59.42)
CIE-LCHlch(39.31, 73.55, 306.11°)
OKLaboklab(49.54% 0.0642 -0.17)
OKLCHoklch(49.54% 0.182 290.7)
XYZxyz(17.0089, 10.8420, 50.4766)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645BF #9EBF45
analogous
#4561BF #6645BF #A345BF
triadic
#6645BF #BF6645 #45BF66
tetradic
#6645BF #BF4561 #9EBF45 #45BFA3
square
#6645BF #BF4561 #9EBF45 #45BFA3
split-complementary
#6645BF #BFA345 #61BF45
monochromatic
#352366 #4D3394 #6645BF #8B73CF #B1A0DE

Accessibility & contrast

On white

6.63
#6645BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6645BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645BF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645BF#FFFFFF#000000##FFFFFF
##6645BF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#4A627C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6645bf;
/* rgb */ color: rgb(102, 69, 191);
/* oklch */ color: oklch(49.5% 0.182 290.7);
Tailwind
colors: {
  custom: {
    50: '#997ad3',
    500: '#6645bf',
    950: '#000000',
  },
}
SCSS
$custom: #6645bf;
$custom-light: #997ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6645bf",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 256.23,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.1817,
    "h": 290.7
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#6645BF
secondary
#BCCB95
accent
#D84FB3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6645BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6645BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva