#645472#645472

#645472 is a mid, muted violet. Relative luminance 0.103; OKLCH L 47.3% C 0.051 H 308.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#645472
RGBrgb(100, 84, 114)
HSLhsl(272, 15%, 39%)
HSVhsv(272, 26%, 45%)
CMYKcmyk(12.3%, 26.3%, 0%, 55.3%)
CIE-LABlab(38.31, 12.92, -14.67)
CIE-LCHlch(38.31, 19.55, 311.38°)
OKLaboklab(47.32% 0.032 -0.04)
OKLCHoklch(47.32% 0.051 308.7)
XYZxyz(11.4626, 10.2650, 17.2938)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645472 #627254
analogous
#555472 #645472 #725471
triadic
#645472 #726454 #547264
tetradic
#645472 #725554 #627254 #547172
square
#645472 #725554 #627254 #547172
split-complementary
#645472 #717254 #547255
monochromatic
#26202C #453A4F #645472 #836F95 #A192AF

Accessibility & contrast

On white

6.88
#645472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#645472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645472
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645472#FFFFFF#000000##FFFFFF
##6454721.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#62585E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #645472;
/* rgb */ color: rgb(100, 84, 114);
/* oklch */ color: oklch(47.3% 0.051 308.7);
Tailwind
colors: {
  custom: {
    50: '#90849a',
    500: '#645472',
    950: '#000000',
  },
}
SCSS
$custom: #645472;
$custom-light: #90849a;
$custom-dark: #000000;
JSON
{
  "hex": "#645472",
  "rgb": {
    "r": 100,
    "g": 84,
    "b": 114
  },
  "hsl": {
    "h": 272,
    "s": 15.152,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.05123,
    "h": 308.7
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#645472
secondary
#909D85
accent
#B87091
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #645472

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

Preview Lab → · Contrast checker → · Palette generator →

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