#645672#645672

#645672 is a mid, muted violet. Relative luminance 0.106; OKLCH L 47.7% C 0.047 H 307.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#645672
RGBrgb(100, 86, 114)
HSLhsl(270, 14%, 39%)
HSVhsv(270, 25%, 45%)
CMYKcmyk(12.3%, 24.6%, 0%, 55.3%)
CIE-LABlab(38.86, 11.68, -13.83)
CIE-LCHlch(38.86, 18.10, 310.17°)
OKLaboklab(47.75% 0.0287 -0.0376)
OKLCHoklch(47.75% 0.047 307.4)
XYZxyz(11.6200, 10.5799, 17.3463)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645672 #647256
analogous
#565672 #645672 #725672
triadic
#645672 #726456 #567264
tetradic
#645672 #725656 #647256 #567272
square
#645672 #725656 #647256 #567272
split-complementary
#645672 #727256 #567256
monochromatic
#27212C #453C4F #645672 #837194 #A194AE

Accessibility & contrast

On white

6.74
#645672 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#645672 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645672
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645672#FFFFFF#000000##FFFFFF
##6456721.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B73
Deuteranopia (green-blind)
#545C71
Tritanopia (blue-blind)
#625A60
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645672;
/* rgb */ color: rgb(100, 86, 114);
/* oklch */ color: oklch(47.7% 0.047 307.4);
Tailwind
colors: {
  custom: {
    50: '#90859a',
    500: '#645672',
    950: '#000000',
  },
}
SCSS
$custom: #645672;
$custom-light: #90859a;
$custom-dark: #000000;
JSON
{
  "hex": "#645672",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 114
  },
  "hsl": {
    "h": 270,
    "s": 14,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.04735,
    "h": 307.4
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#645672
secondary
#929D87
accent
#B77194
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645672

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

Preview Lab → · Contrast checker → · Palette generator →

#645672 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva