#644387#644387

#644387 is a mid, moderate violet. Relative luminance 0.085; OKLCH L 45.1% C 0.112 H 304.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#644387
RGBrgb(100, 67, 135)
HSLhsl(269, 34%, 40%)
HSVhsv(269, 50%, 53%)
CMYKcmyk(25.9%, 50.4%, 0%, 47.1%)
CIE-LABlab(34.95, 28.65, -32.87)
CIE-LCHlch(34.95, 43.60, 311.08°)
OKLaboklab(45.1% 0.0638 -0.0921)
OKLCHoklch(45.1% 0.112 304.7)
XYZxyz(11.6349, 8.4730, 23.9395)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644387 #668743
analogous
#434487 #644387 #864387
triadic
#644387 #876443 #438764
tetradic
#644387 #874344 #668743 #438786
square
#644387 #874344 #668743 #438786
split-complementary
#644387 #878643 #448743
monochromatic
#271A35 #462F5E #644387 #825AAD #A183C1

Accessibility & contrast

On white

7.79
#644387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#644387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #644387
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644387#FFFFFF#000000##FFFFFF
##6443871.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#5E4F5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #644387;
/* rgb */ color: rgb(100, 67, 135);
/* oklch */ color: oklch(45.1% 0.112 304.7);
Tailwind
colors: {
  custom: {
    50: '#9278aa',
    500: '#644387',
    950: '#000000',
  },
}
SCSS
$custom: #644387;
$custom-light: #9278aa;
$custom-dark: #000000;
JSON
{
  "hex": "#644387",
  "rgb": {
    "r": 100,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 269.118,
    "s": 33.663,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.11209,
    "h": 304.7
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#644387
secondary
#94AC79
accent
#CA5E95
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #644387

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

Preview Lab → · Contrast checker → · Palette generator →

#644387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva