#645499#645499

#645499 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.3% C 0.108 H 292.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#645499
RGBrgb(100, 84, 153)
HSLhsl(254, 29%, 46%)
HSVhsv(254, 45%, 60%)
CMYKcmyk(34.6%, 45.1%, 0%, 40%)
CIE-LABlab(40.16, 23.07, -35.55)
CIE-LCHlch(40.16, 42.37, 302.98°)
OKLaboklab(49.34% 0.0417 -0.1)
OKLCHoklch(49.34% 0.108 292.7)
XYZxyz(14.1741, 11.3496, 31.5747)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645499 #899954
analogous
#546799 #645499 #875499
triadic
#645499 #996454 #549964
tetradic
#645499 #995467 #899954 #549987
square
#645499 #995467 #899954 #549987
split-complementary
#645499 #998754 #679954
monochromatic
#30294A #4A3E71 #645499 #8576B4 #A89ECA

Accessibility & contrast

On white

6.42
#645499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#645499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645499
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645499#FFFFFF#000000##FFFFFF
##6454991.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#405D97
Tritanopia (blue-blind)
#57616F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645499;
/* rgb */ color: rgb(100, 84, 153);
/* oklch */ color: oklch(49.3% 0.108 292.7);
Tailwind
colors: {
  custom: {
    50: '#9284b7',
    500: '#645499',
    950: '#000000',
  },
}
SCSS
$custom: #645499;
$custom-light: #9284b7;
$custom-dark: #000000;
JSON
{
  "hex": "#645499",
  "rgb": {
    "r": 100,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 253.913,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.10832,
    "h": 292.7
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#645499
secondary
#AEB792
accent
#C562AE
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645499

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

Preview Lab → · Contrast checker → · Palette generator →

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