#6649DB#6649DB

#6649DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.211 H 285.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6649DB
RGBrgb(102, 73, 219)
HSLhsl(252, 67%, 57%)
HSVhsv(252, 67%, 86%)
CMYKcmyk(53.4%, 66.7%, 0%, 14.1%)
CIE-LABlab(42.31, 49.21, -70.72)
CIE-LCHlch(42.31, 86.16, 304.83°)
OKLaboklab(52.39% 0.0569 -0.2032)
OKLCHoklch(52.39% 0.211 285.7)
XYZxyz(20.6444, 12.7032, 68.3683)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6649DB #BEDB49
analogous
#4975DB #6649DB #AF49DB
triadic
#6649DB #DB6649 #49DB66
tetradic
#6649DB #DB4975 #BEDB49 #49DBAF
square
#6649DB #DB4975 #BEDB49 #49DBAF
split-complementary
#6649DB #DBAF49 #75DB49
monochromatic
#331C8E #4526C1 #6649DB #917CE5 #BCAFEF

Accessibility & contrast

On white

5.93
#6649DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6649DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6649DB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6649DB#FFFFFF#000000##FFFFFF
##6649DB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#356E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6649db;
/* rgb */ color: rgb(102, 73, 219);
/* oklch */ color: oklch(52.4% 0.211 285.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ee7',
    500: '#6649db',
    950: '#000000',
  },
}
SCSS
$custom: #6649db;
$custom-light: #9c7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6649db",
  "rgb": {
    "r": 102,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 251.918,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.21102,
    "h": 285.7
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#6649DB
secondary
#D2DDA2
accent
#EA3EC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6649DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6649DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva