#644EC1#644EC1

#644EC1 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.172 H 287.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#644EC1
RGBrgb(100, 78, 193)
HSLhsl(251, 48%, 53%)
HSVhsv(251, 60%, 76%)
CMYKcmyk(48.2%, 59.6%, 0%, 24.3%)
CIE-LABlab(41.23, 38.33, -57.49)
CIE-LCHlch(41.23, 69.10, 303.69°)
OKLaboklab(50.94% 0.0516 -0.1644)
OKLCHoklch(50.94% 0.172 287.4)
XYZxyz(17.6028, 12.0076, 51.8319)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644EC1 #ABC14E
analogous
#4E71C1 #644EC1 #9D4EC1
triadic
#644EC1 #C1644E #4EC164
tetradic
#644EC1 #C14E71 #ABC14E #4EC19D
square
#644EC1 #C14E71 #ABC14E #4EC19D
split-complementary
#644EC1 #C19D4E #71C14E
monochromatic
#34276E #4A369B #644EC1 #8C7BD1 #B3A9E1

Accessibility & contrast

On white

6.17
#644EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#644EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #644EC1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644EC1#FFFFFF#000000##FFFFFF
##644EC11.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#456880
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #644ec1;
/* rgb */ color: rgb(100, 78, 193);
/* oklch */ color: oklch(50.9% 0.172 287.4);
Tailwind
colors: {
  custom: {
    50: '#9780d4',
    500: '#644ec1',
    950: '#000000',
  },
}
SCSS
$custom: #644ec1;
$custom-light: #9780d4;
$custom-dark: #000000;
JSON
{
  "hex": "#644ec1",
  "rgb": {
    "r": 100,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 251.478,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.17229,
    "h": 287.4
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#644EC1
secondary
#C5CE9D
accent
#D850BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #644EC1

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

Preview Lab → · Contrast checker → · Palette generator →

#644EC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva