#645992#645992

#645992 is a mid, moderate violet. Relative luminance 0.119; OKLCH L 49.9% C 0.090 H 291.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#645992
RGBrgb(100, 89, 146)
HSLhsl(252, 24%, 46%)
HSVhsv(252, 39%, 57%)
CMYKcmyk(31.5%, 39%, 0%, 42.7%)
CIE-LABlab(41.10, 18.02, -29.86)
CIE-LCHlch(41.10, 34.87, 301.11°)
OKLaboklab(49.93% 0.0332 -0.0834)
OKLCHoklch(49.93% 0.09 291.7)
XYZxyz(14.0149, 11.9291, 28.7527)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645992 #879259
analogous
#596A92 #645992 #805992
triadic
#645992 #926459 #599264
tetradic
#645992 #92596A #879259 #599280
square
#645992 #92596A #879259 #599280
split-complementary
#645992 #928059 #6A9259
monochromatic
#302B46 #4A426C #645992 #847AAE #A7A0C5

Accessibility & contrast

On white

6.20
#645992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#645992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645992
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645992#FFFFFF#000000##FFFFFF
##6459921.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486294
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#59636E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #645992;
/* rgb */ color: rgb(100, 89, 146);
/* oklch */ color: oklch(49.9% 0.090 291.7);
Tailwind
colors: {
  custom: {
    50: '#9288b2',
    500: '#645992',
    950: '#000000',
  },
}
SCSS
$custom: #645992;
$custom-light: #9288b2;
$custom-dark: #000000;
JSON
{
  "hex": "#645992",
  "rgb": {
    "r": 100,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 251.579,
    "s": 24.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.08977,
    "h": 291.7
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#645992
secondary
#ADB394
accent
#C167AF
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645992

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

Preview Lab → · Contrast checker → · Palette generator →

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