#644698#644698

#644698 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.7% C 0.130 H 298.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#644698
RGBrgb(100, 70, 152)
HSLhsl(262, 37%, 44%)
HSVhsv(262, 54%, 60%)
CMYKcmyk(34.2%, 53.9%, 0%, 40.4%)
CIE-LABlab(36.66, 31.36, -40.51)
CIE-LCHlch(36.66, 51.23, 307.74°)
OKLaboklab(46.7% 0.0611 -0.1145)
OKLCHoklch(46.7% 0.13 298.1)
XYZxyz(13.1118, 9.3565, 30.8149)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#644698 #7A9846
analogous
#465198 #644698 #8D4698
triadic
#644698 #986446 #469864
tetradic
#644698 #984651 #7A9846 #46988D
square
#644698 #984651 #7A9846 #46988D
split-complementary
#644698 #988D46 #519846
monochromatic
#2D1F44 #48336E #644698 #8264B7 #A48ECB

Accessibility & contrast

On white

7.31
#644698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#644698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #644698
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##644698#FFFFFF#000000##FFFFFF
##6446981.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#595668
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #644698;
/* rgb */ color: rgb(100, 70, 152);
/* oklch */ color: oklch(46.7% 0.130 298.1);
Tailwind
colors: {
  custom: {
    50: '#937ab7',
    500: '#644698',
    950: '#000000',
  },
}
SCSS
$custom: #644698;
$custom-light: #937ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#644698",
  "rgb": {
    "r": 100,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 261.951,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.12978,
    "h": 298.1
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#644698
secondary
#A4B684
accent
#CD5BA3
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #644698

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

Preview Lab → · Contrast checker → · Palette generator →

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