#6649DC#6649DC

#6649DC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.5% C 0.212 H 285.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6649DC
RGBrgb(102, 73, 220)
HSLhsl(252, 68%, 57%)
HSVhsv(252, 67%, 86%)
CMYKcmyk(53.6%, 66.8%, 0%, 13.7%)
CIE-LABlab(42.39, 49.50, -71.16)
CIE-LCHlch(42.39, 86.69, 304.82°)
OKLaboklab(52.47% 0.0568 -0.2045)
OKLCHoklch(52.47% 0.212 285.5)
XYZxyz(20.7764, 12.7560, 69.0637)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6649DC #BFDC49
analogous
#4975DC #6649DC #B049DC
triadic
#6649DC #DC6649 #49DC66
tetradic
#6649DC #DC4975 #BFDC49 #49DCB0
square
#6649DC #DC4975 #BFDC49 #49DCB0
split-complementary
#6649DC #DCB049 #75DC49
monochromatic
#321C8F #4425C2 #6649DC #917CE6 #BCB0F0

Accessibility & contrast

On white

5.91
#6649DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6649DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6649DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6649DC#FFFFFF#000000##FFFFFF
##6649DC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#346E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6649dc;
/* rgb */ color: rgb(102, 73, 220);
/* oklch */ color: oklch(52.5% 0.212 285.5);
Tailwind
colors: {
  custom: {
    50: '#9c7ee8',
    500: '#6649dc',
    950: '#000000',
  },
}
SCSS
$custom: #6649dc;
$custom-light: #9c7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6649dc",
  "rgb": {
    "r": 102,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 251.837,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.21223,
    "h": 285.5
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#6649DC
secondary
#D2DEA3
accent
#EB3DC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6649DC

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

Preview Lab → · Contrast checker → · Palette generator →

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