#645A70#645A70

#645A70 is a mid, muted violet. Relative luminance 0.112; OKLCH L 48.5% C 0.037 H 305.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#645A70
RGBrgb(100, 90, 112)
HSLhsl(267, 11%, 40%)
HSVhsv(267, 20%, 44%)
CMYKcmyk(10.7%, 19.6%, 0%, 56.1%)
CIE-LABlab(39.90, 8.73, -11.02)
CIE-LCHlch(39.90, 14.06, 308.38°)
OKLaboklab(48.52% 0.0214 -0.0298)
OKLCHoklch(48.52% 0.037 305.7)
XYZxyz(11.8358, 11.1915, 16.8627)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645A70 #66705A
analogous
#5A5B70 #645A70 #6F5A70
triadic
#645A70 #70645A #5A7064
tetradic
#645A70 #705A5B #66705A #5A706F
square
#645A70 #705A5B #66705A #5A706F
split-complementary
#645A70 #706F5A #5B705A
monochromatic
#27232C #463F4E #645A70 #827691 #A198AC

Accessibility & contrast

On white

6.48
#645A70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#645A70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645A70
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645A70#FFFFFF#000000##FFFFFF
##645A701.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E71
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#625D61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645a70;
/* rgb */ color: rgb(100, 90, 112);
/* oklch */ color: oklch(48.5% 0.037 305.7);
Tailwind
colors: {
  custom: {
    50: '#908899',
    500: '#645a70',
    950: '#000000',
  },
}
SCSS
$custom: #645a70;
$custom-light: #908899;
$custom-dark: #000000;
JSON
{
  "hex": "#645a70",
  "rgb": {
    "r": 100,
    "g": 90,
    "b": 112
  },
  "hsl": {
    "h": 267.273,
    "s": 10.891,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.03674,
    "h": 305.7
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#645A70
secondary
#949B8B
accent
#B47497
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #645A70

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

Preview Lab → · Contrast checker → · Palette generator →

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