#6649E4#6649E4

#6649E4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.222 H 284.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6649E4
RGBrgb(102, 73, 228)
HSLhsl(251, 74%, 59%)
HSVhsv(251, 68%, 89%)
CMYKcmyk(55.3%, 68%, 0%, 10.6%)
CIE-LABlab(43.05, 51.83, -74.65)
CIE-LCHlch(43.05, 90.88, 304.77°)
OKLaboklab(53.14% 0.0556 -0.2147)
OKLCHoklch(53.14% 0.222 284.5)
XYZxyz(21.8614, 13.1900, 74.7777)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6649E4 #C7E449
analogous
#497AE4 #6649E4 #B449E4
triadic
#6649E4 #E46649 #49E466
tetradic
#6649E4 #E4497A #C7E449 #49E4B4
square
#6649E4 #E4497A #C7E449 #49E4B4
split-complementary
#6649E4 #E4B449 #7AE449
monochromatic
#30179C #401FD1 #6649E4 #937EEC #C0B4F4

Accessibility & contrast

On white

5.77
#6649E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6649E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6649E4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6649E4#FFFFFF#000000##FFFFFF
##6649E41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#2A7191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6649e4;
/* rgb */ color: rgb(102, 73, 228);
/* oklch */ color: oklch(53.1% 0.222 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d7eee',
    500: '#6649e4',
    950: '#000000',
  },
}
SCSS
$custom: #6649e4;
$custom-light: #9d7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6649e4",
  "rgb": {
    "r": 102,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 251.226,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.2218,
    "h": 284.5
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#6649E4
secondary
#D7E3A6
accent
#F137CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6649E4

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

Preview Lab → · Contrast checker → · Palette generator →

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