#645A6E#645A6E

#645A6E is a mid, muted violet. Relative luminance 0.111; OKLCH L 48.4% C 0.034 H 307.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#645A6E
RGBrgb(100, 90, 110)
HSLhsl(270, 10%, 39%)
HSVhsv(270, 18%, 43%)
CMYKcmyk(9.1%, 18.2%, 0%, 56.9%)
CIE-LABlab(39.83, 8.27, -9.90)
CIE-LCHlch(39.83, 12.90, 309.86°)
OKLaboklab(48.44% 0.0207 -0.0267)
OKLCHoklch(48.44% 0.034 307.7)
XYZxyz(11.7257, 11.1475, 16.2828)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A6E #646E5A
analogous
#5A5A6E #645A6E #6E5A6E
triadic
#645A6E #6E645A #5A6E64
tetradic
#645A6E #6E5A5A #646E5A #5A6E6E
square
#645A6E #6E5A5A #646E5A #5A6E6E
split-complementary
#645A6E #6E6E5A #5A6E5A
monochromatic
#27232B #453E4C #645A6E #83768F #A198AB

Accessibility & contrast

On white

6.50
#645A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#645A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A6E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A6E#FFFFFF#000000##FFFFFF
##645A6E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575D6F
Deuteranopia (green-blind)
#595E6D
Tritanopia (blue-blind)
#635C61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645a6e;
/* rgb */ color: rgb(100, 90, 110);
/* oklch */ color: oklch(48.4% 0.034 307.7);
Tailwind
colors: {
  custom: {
    50: '#908897',
    500: '#645a6e',
    950: '#000000',
  },
}
SCSS
$custom: #645a6e;
$custom-light: #908897;
$custom-dark: #000000;
JSON
{
  "hex": "#645a6e",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 110
  },
  "hsl": {
    "h": 270,
    "s": 10,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.0338,
    "h": 307.7
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#645A6E
secondary
#929A8A
accent
#B37594
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #645A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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