#6648BD#6648BD

#6648BD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.175 H 290.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6648BD
RGBrgb(102, 72, 189)
HSLhsl(255, 47%, 51%)
HSVhsv(255, 62%, 74%)
CMYKcmyk(46%, 61.9%, 0%, 25.9%)
CIE-LABlab(39.80, 41.07, -57.46)
CIE-LCHlch(39.80, 70.62, 305.56°)
OKLaboklab(49.85% 0.0611 -0.1642)
OKLCHoklch(49.85% 0.175 290.4)
XYZxyz(16.9796, 11.1330, 49.3885)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648BD #9FBD48
analogous
#4864BD #6648BD #A048BD
triadic
#6648BD #BD6648 #48BD66
tetradic
#6648BD #BD4864 #9FBD48 #48BDA0
square
#6648BD #BD4864 #9FBD48 #48BDA0
split-complementary
#6648BD #BDA048 #64BD48
monochromatic
#352566 #4D3593 #6648BD #8C75CD #B1A2DD

Accessibility & contrast

On white

6.51
#6648BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6648BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648BD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648BD#FFFFFF#000000##FFFFFF
##6648BD1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#4B637C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6648bd;
/* rgb */ color: rgb(102, 72, 189);
/* oklch */ color: oklch(49.9% 0.175 290.4);
Tailwind
colors: {
  custom: {
    50: '#987cd2',
    500: '#6648bd',
    950: '#000000',
  },
}
SCSS
$custom: #6648bd;
$custom-light: #987cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6648bd",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 255.385,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.17521,
    "h": 290.4
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#6648BD
secondary
#BDCA97
accent
#D751B4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6648BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6648BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva