#645A7A#645A7A

#645A7A is a mid, muted violet. Relative luminance 0.114; OKLCH L 49.0% C 0.052 H 298.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#645A7A
RGBrgb(100, 90, 122)
HSLhsl(259, 15%, 42%)
HSVhsv(259, 26%, 48%)
CMYKcmyk(18%, 26.2%, 0%, 52.2%)
CIE-LABlab(40.29, 11.12, -16.56)
CIE-LCHlch(40.29, 19.95, 303.88°)
OKLaboklab(48.95% 0.0249 -0.0454)
OKLCHoklch(48.95% 0.052 298.8)
XYZxyz(12.4238, 11.4267, 19.9596)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A7A #707A5A
analogous
#5A607A #645A7A #745A7A
triadic
#645A7A #7A645A #5A7A64
tetradic
#645A7A #7A5A60 #707A5A #5A7A74
square
#645A7A #7A5A60 #707A5A #5A7A74
split-complementary
#645A7A #7A745A #607A5A
monochromatic
#2A2634 #474057 #645A7A #82779A #A29AB4

Accessibility & contrast

On white

6.39
#645A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#645A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A7A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A7A#FFFFFF#000000##FFFFFF
##645A7A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7B
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#605F65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645a7a;
/* rgb */ color: rgb(100, 90, 122);
/* oklch */ color: oklch(49.0% 0.052 298.8);
Tailwind
colors: {
  custom: {
    50: '#9088a0',
    500: '#645a7a',
    950: '#000000',
  },
}
SCSS
$custom: #645a7a;
$custom-light: #9088a0;
$custom-dark: #000000;
JSON
{
  "hex": "#645a7a",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 122
  },
  "hsl": {
    "h": 258.75,
    "s": 15.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.05176,
    "h": 298.8
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#645A7A
secondary
#9CA38D
accent
#B870A1
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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