#645A74#645A74

#645A74 is a mid, muted violet. Relative luminance 0.113; OKLCH L 48.7% C 0.043 H 302.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#645A74
RGBrgb(100, 90, 116)
HSLhsl(263, 13%, 40%)
HSVhsv(263, 22%, 45%)
CMYKcmyk(13.8%, 22.4%, 0%, 54.5%)
CIE-LABlab(40.05, 9.67, -13.25)
CIE-LCHlch(40.05, 16.40, 306.12°)
OKLaboklab(48.69% 0.0229 -0.036)
OKLCHoklch(48.69% 0.043 302.4)
XYZxyz(12.0635, 11.2826, 18.0618)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A74 #6A745A
analogous
#5A5D74 #645A74 #715A74
triadic
#645A74 #74645A #5A7464
tetradic
#645A74 #745A5D #6A745A #5A7471
square
#645A74 #745A5D #6A745A #5A7471
split-complementary
#645A74 #74715A #5D745A
monochromatic
#29252F #463F52 #645A74 #827695 #A299B0

Accessibility & contrast

On white

6.45
#645A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#645A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A74
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A74#FFFFFF#000000##FFFFFF
##645A741.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E75
Deuteranopia (green-blind)
#575E73
Tritanopia (blue-blind)
#625E63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645a74;
/* rgb */ color: rgb(100, 90, 116);
/* oklch */ color: oklch(48.7% 0.043 302.4);
Tailwind
colors: {
  custom: {
    50: '#90889c',
    500: '#645a74',
    950: '#000000',
  },
}
SCSS
$custom: #645a74;
$custom-light: #90889c;
$custom-dark: #000000;
JSON
{
  "hex": "#645a74",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 116
  },
  "hsl": {
    "h": 263.077,
    "s": 12.621,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.04269,
    "h": 302.4
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#645A74
secondary
#979E8C
accent
#B5729C
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645A74

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

Preview Lab → · Contrast checker → · Palette generator →

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