#644CB2#644CB2

#644CB2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.155 H 290.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#644CB2
RGBrgb(100, 76, 178)
HSLhsl(254, 40%, 50%)
HSVhsv(254, 57%, 70%)
CMYKcmyk(43.8%, 57.3%, 0%, 30.2%)
CIE-LABlab(39.73, 35.11, -51.11)
CIE-LCHlch(39.73, 62.01, 304.49°)
OKLaboklab(49.51% 0.0542 -0.1456)
OKLCHoklch(49.51% 0.155 290.4)
XYZxyz(15.8736, 11.0920, 43.4155)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644CB2 #9AB24C
analogous
#4C67B2 #644CB2 #974CB2
triadic
#644CB2 #B2644C #4CB264
tetradic
#644CB2 #B24C67 #9AB24C #4CB297
square
#644CB2 #B24C67 #9AB24C #4CB297
split-complementary
#644CB2 #B2974C #67B24C
monochromatic
#34275C #4C3A87 #644CB2 #8976C5 #AEA1D7

Accessibility & contrast

On white

6.52
#644CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#644CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #644CB2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644CB2#FFFFFF#000000##FFFFFF
##644CB21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB5
Deuteranopia (green-blind)
#155BB0
Tritanopia (blue-blind)
#4D6277
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #644cb2;
/* rgb */ color: rgb(100, 76, 178);
/* oklch */ color: oklch(49.5% 0.155 290.4);
Tailwind
colors: {
  custom: {
    50: '#957fca',
    500: '#644cb2',
    950: '#000000',
  },
}
SCSS
$custom: #644cb2;
$custom-light: #957fca;
$custom-dark: #000000;
JSON
{
  "hex": "#644cb2",
  "rgb": {
    "r": 100,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 254.118,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.15536,
    "h": 290.4
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#644CB2
secondary
#B9C496
accent
#D058B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #644CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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