#645596#645596

#645596 is a mid, moderate violet. Relative luminance 0.114; OKLCH L 49.4% C 0.102 H 292.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#645596
RGBrgb(100, 85, 150)
HSLhsl(254, 28%, 46%)
HSVhsv(254, 43%, 59%)
CMYKcmyk(33.3%, 43.3%, 0%, 41.2%)
CIE-LABlab(40.26, 21.61, -33.59)
CIE-LCHlch(40.26, 39.94, 302.75°)
OKLaboklab(49.36% 0.0398 -0.0943)
OKLCHoklch(49.36% 0.102 292.9)
XYZxyz(14.0076, 11.4081, 30.3122)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645596 #879655
analogous
#556696 #645596 #845596
triadic
#645596 #966455 #559664
tetradic
#645596 #965566 #879655 #559684
square
#645596 #965566 #879655 #559684
split-complementary
#645596 #968455 #669655
monochromatic
#302948 #4A3F6F #645596 #8477B2 #A79EC8

Accessibility & contrast

On white

6.40
#645596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#645596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645596
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645596#FFFFFF#000000##FFFFFF
##6455961.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#58616E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645596;
/* rgb */ color: rgb(100, 85, 150);
/* oklch */ color: oklch(49.4% 0.102 292.9);
Tailwind
colors: {
  custom: {
    50: '#9285b5',
    500: '#645596',
    950: '#000000',
  },
}
SCSS
$custom: #645596;
$custom-light: #9285b5;
$custom-dark: #000000;
JSON
{
  "hex": "#645596",
  "rgb": {
    "r": 100,
    "g": 85,
    "b": 150
  },
  "hsl": {
    "h": 253.846,
    "s": 27.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.10232,
    "h": 292.9
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#645596
secondary
#ADB592
accent
#C464AE
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645596

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

Preview Lab → · Contrast checker → · Palette generator →

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