#644178#644178

#644178 is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.9% C 0.096 H 312.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#644178
RGBrgb(100, 65, 120)
HSLhsl(278, 30%, 36%)
HSVhsv(278, 46%, 47%)
CMYKcmyk(16.7%, 45.8%, 0%, 52.9%)
CIE-LABlab(33.66, 26.13, -25.60)
CIE-LCHlch(33.66, 36.58, 315.59°)
OKLaboklab(43.88% 0.0646 -0.071)
OKLCHoklch(43.88% 0.096 312.3)
XYZxyz(10.5354, 7.8462, 18.7251)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644178 #557841
analogous
#494178 #644178 #784171
triadic
#644178 #786441 #417864
tetradic
#644178 #784941 #557841 #417178
square
#644178 #784941 #557841 #417178
split-complementary
#644178 #717841 #417849
monochromatic
#221629 #432B50 #644178 #8557A0 #A27CB8

Accessibility & contrast

On white

8.17
#644178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#644178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #644178
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644178#FFFFFF#000000##FFFFFF
##6441781.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D7A
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#624957
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #644178;
/* rgb */ color: rgb(100, 65, 120);
/* oklch */ color: oklch(43.9% 0.096 312.3);
Tailwind
colors: {
  custom: {
    50: '#91769f',
    500: '#644178',
    950: '#000000',
  },
}
SCSS
$custom: #644178;
$custom-light: #91769f;
$custom-dark: #000000;
JSON
{
  "hex": "#644178",
  "rgb": {
    "r": 100,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 278.182,
    "s": 29.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.09601,
    "h": 312.3
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#644178
secondary
#84A372
accent
#C66286
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #644178

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

Preview Lab → · Contrast checker → · Palette generator →

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