#645C74#645C74

#645C74 is a mid, muted violet. Relative luminance 0.116; OKLCH L 49.1% C 0.039 H 300.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#645C74
RGBrgb(100, 92, 116)
HSLhsl(260, 12%, 41%)
HSVhsv(260, 21%, 45%)
CMYKcmyk(13.8%, 20.7%, 0%, 54.5%)
CIE-LABlab(40.61, 8.43, -12.40)
CIE-LCHlch(40.61, 14.99, 304.22°)
OKLaboklab(49.13% 0.0196 -0.0337)
OKLCHoklch(49.13% 0.039 300.2)
XYZxyz(12.2344, 11.6246, 18.1188)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645C74 #6C745C
analogous
#5C6074 #645C74 #705C74
triadic
#645C74 #74645C #5C7464
tetradic
#645C74 #745C60 #6C745C #5C7470
square
#645C74 #745C60 #6C745C #5C7470
split-complementary
#645C74 #74705C #60745C
monochromatic
#292630 #474152 #645C74 #827994 #A29BB0

Accessibility & contrast

On white

6.32
#645C74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645C74
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645C74#FFFFFF#000000##FFFFFF
##645C741.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576075
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#615F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645c74;
/* rgb */ color: rgb(100, 92, 116);
/* oklch */ color: oklch(49.1% 0.039 300.2);
Tailwind
colors: {
  custom: {
    50: '#908a9c',
    500: '#645c74',
    950: '#000000',
  },
}
SCSS
$custom: #645c74;
$custom-light: #908a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#645c74",
  "rgb": {
    "r": 100,
    "g": 92,
    "b": 116
  },
  "hsl": {
    "h": 260,
    "s": 11.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49125,
    "c": 0.03898,
    "h": 300.2
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#645C74
secondary
#999E8D
accent
#B4739F
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645C74

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

Preview Lab → · Contrast checker → · Palette generator →

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