#6641BC#6641BC

#6641BC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.183 H 292.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6641BC
RGBrgb(102, 65, 188)
HSLhsl(258, 49%, 50%)
HSVhsv(258, 65%, 74%)
CMYKcmyk(45.7%, 65.4%, 0%, 26.3%)
CIE-LABlab(38.26, 44.72, -59.37)
CIE-LCHlch(38.26, 74.33, 306.99°)
OKLaboklab(48.71% 0.0687 -0.1698)
OKLCHoklch(48.71% 0.183 292)
XYZxyz(16.4444, 10.2357, 48.6764)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641BC #97BC41
analogous
#4159BC #6641BC #A441BC
triadic
#6641BC #BC6641 #41BC66
tetradic
#6641BC #BC4159 #97BC41 #41BCA4
square
#6641BC #BC4159 #97BC41 #41BCA4
split-complementary
#6641BC #BCA441 #59BC41
monochromatic
#352261 #4D318F #6641BC #8A6ECD #AF9BDC

Accessibility & contrast

On white

6.89
#6641BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6641BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641BC#FFFFFF#000000##FFFFFF
##6641BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#4C5E79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6641bc;
/* rgb */ color: rgb(102, 65, 188);
/* oklch */ color: oklch(48.7% 0.183 292.0);
Tailwind
colors: {
  custom: {
    50: '#9878d1',
    500: '#6641bc',
    950: '#000000',
  },
}
SCSS
$custom: #6641bc;
$custom-light: #9878d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6641bc",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 258.049,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.18321,
    "h": 292
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#6641BC
secondary
#B8C990
accent
#D850AF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6641BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6641BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva