#645C76#645C76

#645C76 is a mid, muted violet. Relative luminance 0.117; OKLCH L 49.2% C 0.042 H 298.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#645C76
RGBrgb(100, 92, 118)
HSLhsl(258, 12%, 41%)
HSVhsv(258, 22%, 46%)
CMYKcmyk(15.3%, 22%, 0%, 53.7%)
CIE-LABlab(40.69, 8.91, -13.51)
CIE-LCHlch(40.69, 16.18, 303.42°)
OKLaboklab(49.21% 0.0203 -0.0368)
OKLCHoklch(49.21% 0.042 298.9)
XYZxyz(12.3520, 11.6716, 18.7381)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C76 #6E765C
analogous
#5C6176 #645C76 #715C76
triadic
#645C76 #76645C #5C7664
tetradic
#645C76 #765C61 #6E765C #5C7671
square
#645C76 #765C61 #6E765C #5C7671
split-complementary
#645C76 #76715C #61765C
monochromatic
#2A2631 #474154 #645C76 #827996 #A29BB1

Accessibility & contrast

On white

6.30
#645C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#645C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C76
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C76#FFFFFF#000000##FFFFFF
##645C761.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576077
Deuteranopia (green-blind)
#586075
Tritanopia (blue-blind)
#616065
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645c76;
/* rgb */ color: rgb(100, 92, 118);
/* oklch */ color: oklch(49.2% 0.042 298.9);
Tailwind
colors: {
  custom: {
    50: '#908a9d',
    500: '#645c76',
    950: '#000000',
  },
}
SCSS
$custom: #645c76;
$custom-light: #908a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#645c76",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 118
  },
  "hsl": {
    "h": 258.462,
    "s": 12.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.04204,
    "h": 298.9
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#645C76
secondary
#9AA08E
accent
#B573A1
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645C76

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

Preview Lab → · Contrast checker → · Palette generator →

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