#644C98#644C98

#644C98 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 47.8% C 0.120 H 296.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#644C98
RGBrgb(100, 76, 152)
HSLhsl(259, 33%, 45%)
HSVhsv(259, 50%, 60%)
CMYKcmyk(34.2%, 50%, 0%, 40.4%)
CIE-LABlab(38.10, 27.72, -38.22)
CIE-LCHlch(38.10, 47.21, 305.95°)
OKLaboklab(47.77% 0.0528 -0.1078)
OKLCHoklch(47.77% 0.12 296.1)
XYZxyz(13.5061, 10.1450, 30.9463)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644C98 #80984C
analogous
#4C5A98 #644C98 #8A4C98
triadic
#644C98 #98644C #4C9864
tetradic
#644C98 #984C5A #80984C #4C988A
square
#644C98 #984C5A #80984C #4C988A
split-complementary
#644C98 #988A4C #5A984C
monochromatic
#2E2346 #49386F #644C98 #836CB5 #A595CA

Accessibility & contrast

On white

6.93
#644C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#644C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #644C98
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644C98#FFFFFF#000000##FFFFFF
##644C981.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#585B6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #644c98;
/* rgb */ color: rgb(100, 76, 152);
/* oklch */ color: oklch(47.8% 0.120 296.1);
Tailwind
colors: {
  custom: {
    50: '#937eb7',
    500: '#644c98',
    950: '#000000',
  },
}
SCSS
$custom: #644c98;
$custom-light: #937eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#644c98",
  "rgb": {
    "r": 100,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 258.947,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.12002,
    "h": 296.1
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#644C98
secondary
#A8B68A
accent
#C95EA8
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #644C98

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

Preview Lab → · Contrast checker → · Palette generator →

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