#645595#645595

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

Color values

HEX#645595
RGBrgb(100, 85, 149)
HSLhsl(254, 27%, 46%)
HSVhsv(254, 43%, 58%)
CMYKcmyk(32.9%, 43%, 0%, 41.6%)
CIE-LABlab(40.21, 21.33, -33.07)
CIE-LCHlch(40.21, 39.36, 302.82°)
OKLaboklab(49.3% 0.0396 -0.0928)
OKLCHoklch(49.3% 0.101 293.1)
XYZxyz(13.9275, 11.3760, 29.8899)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645595 #869555
analogous
#556695 #645595 #845595
triadic
#645595 #956455 #559564
tetradic
#645595 #955566 #869555 #559584
square
#645595 #955566 #869555 #559584
split-complementary
#645595 #958455 #669555
monochromatic
#302947 #4A3F6E #645595 #8476B1 #A79DC7

Accessibility & contrast

On white

6.41
#645595 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645595
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645595#FFFFFF#000000##FFFFFF
##6455951.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416097
Deuteranopia (green-blind)
#435E93
Tritanopia (blue-blind)
#59616E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #645595;
/* rgb */ color: rgb(100, 85, 149);
/* oklch */ color: oklch(49.3% 0.101 293.1);
Tailwind
colors: {
  custom: {
    50: '#9285b4',
    500: '#645595',
    950: '#000000',
  },
}
SCSS
$custom: #645595;
$custom-light: #9285b4;
$custom-dark: #000000;
JSON
{
  "hex": "#645595",
  "rgb": {
    "r": 100,
    "g": 85,
    "b": 149
  },
  "hsl": {
    "h": 254.063,
    "s": 27.35,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.10086,
    "h": 293.1
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#645595
secondary
#ACB591
accent
#C464AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645595

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

Preview Lab → · Contrast checker → · Palette generator →

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