#644798#644798

#644798 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 46.9% C 0.128 H 297.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#644798
RGBrgb(100, 71, 152)
HSLhsl(261, 36%, 44%)
HSVhsv(261, 53%, 60%)
CMYKcmyk(34.2%, 53.3%, 0%, 40.4%)
CIE-LABlab(36.90, 30.76, -40.14)
CIE-LCHlch(36.90, 50.57, 307.47°)
OKLaboklab(46.88% 0.0598 -0.1134)
OKLCHoklch(46.88% 0.128 297.8)
XYZxyz(13.1749, 9.4826, 30.8359)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644798 #7B9847
analogous
#475298 #644798 #8C4798
triadic
#644798 #986447 #479864
tetradic
#644798 #984752 #7B9847 #47988C
square
#644798 #984752 #7B9847 #47988C
split-complementary
#644798 #988C47 #529847
monochromatic
#2D2045 #49346E #644798 #8265B7 #A48FCB

Accessibility & contrast

On white

7.25
#644798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#644798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #644798
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644798#FFFFFF#000000##FFFFFF
##6447981.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#595768
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #644798;
/* rgb */ color: rgb(100, 71, 152);
/* oklch */ color: oklch(46.9% 0.128 297.8);
Tailwind
colors: {
  custom: {
    50: '#937bb7',
    500: '#644798',
    950: '#000000',
  },
}
SCSS
$custom: #644798;
$custom-light: #937bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#644798",
  "rgb": {
    "r": 100,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 261.481,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.12817,
    "h": 297.8
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#644798
secondary
#A4B685
accent
#CC5BA4
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #644798

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

Preview Lab → · Contrast checker → · Palette generator →

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