#644F98#644F98

#644F98 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.3% C 0.115 H 295.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#644F98
RGBrgb(100, 79, 152)
HSLhsl(257, 32%, 45%)
HSVhsv(257, 48%, 60%)
CMYKcmyk(34.2%, 48%, 0%, 40.4%)
CIE-LABlab(38.84, 25.88, -37.04)
CIE-LCHlch(38.84, 45.18, 304.94°)
OKLaboklab(48.33% 0.0486 -0.1043)
OKLCHoklch(48.33% 0.115 295)
XYZxyz(13.7176, 10.5681, 31.0168)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644F98 #83984F
analogous
#4F5E98 #644F98 #884F98
triadic
#644F98 #98644F #4F9864
tetradic
#644F98 #984F5E #83984F #4F9888
square
#644F98 #984F5E #83984F #4F9888
split-complementary
#644F98 #98884F #5E984F
monochromatic
#2F2547 #4A3A70 #644F98 #8370B5 #A698C9

Accessibility & contrast

On white

6.74
#644F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#644F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #644F98
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644F98#FFFFFF#000000##FFFFFF
##644F981.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#585D6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #644f98;
/* rgb */ color: rgb(100, 79, 152);
/* oklch */ color: oklch(48.3% 0.115 295.0);
Tailwind
colors: {
  custom: {
    50: '#9380b7',
    500: '#644f98',
    950: '#000000',
  },
}
SCSS
$custom: #644f98;
$custom-light: #9380b7;
$custom-dark: #000000;
JSON
{
  "hex": "#644f98",
  "rgb": {
    "r": 100,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 257.26,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.1151,
    "h": 295
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#644F98
secondary
#AAB68D
accent
#C860AA
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #644F98

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

Preview Lab → · Contrast checker → · Palette generator →

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