#645C6E#645C6E

#645C6E is a mid, muted violet. Relative luminance 0.115; OKLCH L 48.9% C 0.030 H 305.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#645C6E
RGBrgb(100, 92, 110)
HSLhsl(267, 9%, 40%)
HSVhsv(267, 16%, 43%)
CMYKcmyk(9.1%, 16.4%, 0%, 56.9%)
CIE-LABlab(40.39, 7.04, -9.05)
CIE-LCHlch(40.39, 11.47, 307.86°)
OKLaboklab(48.88% 0.0174 -0.0244)
OKLCHoklch(48.88% 0.03 305.4)
XYZxyz(11.8966, 11.4894, 16.3398)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C6E #666E5C
analogous
#5C5D6E #645C6E #6D5C6E
triadic
#645C6E #6E645C #5C6E64
tetradic
#645C6E #6E5C5D #666E5C #5C6E6D
square
#645C6E #6E5C5D #666E5C #5C6E6D
split-complementary
#645C6E #6E6D5C #5D6E5C
monochromatic
#27242B #46404D #645C6E #82798F #A19AAA

Accessibility & contrast

On white

6.37
#645C6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#645C6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645C6E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C6E#FFFFFF#000000##FFFFFF
##645C6E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F6F
Deuteranopia (green-blind)
#5A5F6D
Tritanopia (blue-blind)
#635E62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645c6e;
/* rgb */ color: rgb(100, 92, 110);
/* oklch */ color: oklch(48.9% 0.030 305.4);
Tailwind
colors: {
  custom: {
    50: '#908a97',
    500: '#645c6e',
    950: '#000000',
  },
}
SCSS
$custom: #645c6e;
$custom-light: #908a97;
$custom-dark: #000000;
JSON
{
  "hex": "#645c6e",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 110
  },
  "hsl": {
    "h": 266.667,
    "s": 8.911,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.02996,
    "h": 305.4
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#645C6E
secondary
#949A8C
accent
#B27697
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #645C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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