#6641BF#6641BF

#6641BF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.187 H 291.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6641BF
RGBrgb(102, 65, 191)
HSLhsl(258, 50%, 50%)
HSVhsv(258, 66%, 75%)
CMYKcmyk(46.6%, 66%, 0%, 25.1%)
CIE-LABlab(38.49, 45.56, -60.76)
CIE-LCHlch(38.49, 75.94, 306.87°)
OKLaboklab(48.95% 0.0683 -0.1739)
OKLCHoklch(48.95% 0.187 291.5)
XYZxyz(16.7711, 10.3664, 50.3974)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641BF #9ABF41
analogous
#415BBF #6641BF #A541BF
triadic
#6641BF #BF6641 #41BF66
tetradic
#6641BF #BF415B #9ABF41 #41BFA5
square
#6641BF #BF415B #9ABF41 #41BFA5
split-complementary
#6641BF #BFA541 #5BBF41
monochromatic
#352264 #4D3192 #6641BF #8B6FCE #B09DDE

Accessibility & contrast

On white

6.83
#6641BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6641BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641BF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641BF#FFFFFF#000000##FFFFFF
##6641BF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#4B5F7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6641bf;
/* rgb */ color: rgb(102, 65, 191);
/* oklch */ color: oklch(48.9% 0.187 291.5);
Tailwind
colors: {
  custom: {
    50: '#9978d3',
    500: '#6641bf',
    950: '#000000',
  },
}
SCSS
$custom: #6641bf;
$custom-light: #9978d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6641bf",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 257.619,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.18686,
    "h": 291.5
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#6641BF
secondary
#BACA92
accent
#D94FB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6641BF

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

Preview Lab → · Contrast checker → · Palette generator →

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