#645B89#645B89

#645B89 is a mid, moderate violet. Relative luminance 0.120; OKLCH L 49.9% C 0.073 H 292.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#645B89
RGBrgb(100, 91, 137)
HSLhsl(252, 20%, 45%)
HSVhsv(252, 34%, 54%)
CMYKcmyk(27%, 33.6%, 0%, 46.3%)
CIE-LABlab(41.21, 14.34, -24.26)
CIE-LCHlch(41.21, 28.18, 300.59°)
OKLaboklab(49.88% 0.0279 -0.0673)
OKLCHoklch(49.88% 0.073 292.5)
XYZxyz(13.5109, 11.9974, 25.2660)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645B89 #80895B
analogous
#5B6989 #645B89 #7B5B89
triadic
#645B89 #89645B #5B8964
tetradic
#645B89 #895B69 #80895B #5B897B
square
#645B89 #895B69 #80895B #5B897B
split-complementary
#645B89 #897B5B #69895B
monochromatic
#2E2A3F #494364 #645B89 #837AA7 #A59FBF

Accessibility & contrast

On white

6.18
#645B89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#645B89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645B89
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645B89#FFFFFF#000000##FFFFFF
##645B891.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628B
Deuteranopia (green-blind)
#506088
Tritanopia (blue-blind)
#5C636C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #645b89;
/* rgb */ color: rgb(100, 91, 137);
/* oklch */ color: oklch(49.9% 0.073 292.5);
Tailwind
colors: {
  custom: {
    50: '#9189ab',
    500: '#645b89',
    950: '#000000',
  },
}
SCSS
$custom: #645b89;
$custom-light: #9189ab;
$custom-dark: #000000;
JSON
{
  "hex": "#645b89",
  "rgb": {
    "r": 100,
    "g": 91,
    "b": 137
  },
  "hsl": {
    "h": 251.739,
    "s": 20.175,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.07285,
    "h": 292.5
  },
  "luminance": 0.11998
}

Semantic roles & 50–950 ramp

primary
#645B89
secondary
#A8AD92
accent
#BD6BAD
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0D0B10
muted
#7D7C7F

Preview Lab

Preview with #645B89

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

Preview Lab → · Contrast checker → · Palette generator →

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