#645C72#645C72

#645C72 is a mid, muted violet. Relative luminance 0.116; OKLCH L 49.0% C 0.036 H 301.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#645C72
RGBrgb(100, 92, 114)
HSLhsl(262, 11%, 40%)
HSVhsv(262, 19%, 45%)
CMYKcmyk(12.3%, 19.3%, 0%, 55.3%)
CIE-LABlab(40.54, 7.96, -11.29)
CIE-LCHlch(40.54, 13.81, 305.20°)
OKLaboklab(49.04% 0.0189 -0.0306)
OKLCHoklch(49.04% 0.036 301.7)
XYZxyz(12.1194, 11.5785, 17.5127)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C72 #6A725C
analogous
#5C5F72 #645C72 #6F5C72
triadic
#645C72 #72645C #5C7264
tetradic
#645C72 #725C5F #6A725C #5C726F
square
#645C72 #725C5F #6A725C #5C726F
split-complementary
#645C72 #726F5C #5F725C
monochromatic
#29252E #464150 #645C72 #827993 #A29BAE

Accessibility & contrast

On white

6.33
#645C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#645C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C72
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C72#FFFFFF#000000##FFFFFF
##645C721.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F73
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#625F63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645c72;
/* rgb */ color: rgb(100, 92, 114);
/* oklch */ color: oklch(49.0% 0.036 301.7);
Tailwind
colors: {
  custom: {
    50: '#908a9a',
    500: '#645c72',
    950: '#000000',
  },
}
SCSS
$custom: #645c72;
$custom-light: #908a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#645c72",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 114
  },
  "hsl": {
    "h": 261.818,
    "s": 10.68,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.03596,
    "h": 301.7
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#645C72
secondary
#979D8D
accent
#B4749D
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645C72

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

Preview Lab → · Contrast checker → · Palette generator →

#645C72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva