#645593#645593

#645593 is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.2% C 0.098 H 293.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#645593
RGBrgb(100, 85, 147)
HSLhsl(255, 27%, 45%)
HSVhsv(255, 42%, 58%)
CMYKcmyk(32%, 42.2%, 0%, 42.4%)
CIE-LABlab(40.10, 20.78, -32.03)
CIE-LCHlch(40.10, 38.18, 302.97°)
OKLaboklab(49.19% 0.0392 -0.0897)
OKLCHoklch(49.19% 0.098 293.6)
XYZxyz(13.7692, 11.3127, 29.0562)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645593 #849355
analogous
#556593 #645593 #835593
triadic
#645593 #936455 #559364
tetradic
#645593 #935565 #849355 #559383
square
#645593 #935565 #849355 #559383
split-complementary
#645593 #938355 #659355
monochromatic
#2F2845 #4A3F6C #645593 #8476B0 #A69CC6

Accessibility & contrast

On white

6.44
#645593 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#645593 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645593
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645593#FFFFFF#000000##FFFFFF
##6455931.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F95
Deuteranopia (green-blind)
#445D91
Tritanopia (blue-blind)
#59606D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645593;
/* rgb */ color: rgb(100, 85, 147);
/* oklch */ color: oklch(49.2% 0.098 293.6);
Tailwind
colors: {
  custom: {
    50: '#9285b3',
    500: '#645593',
    950: '#000000',
  },
}
SCSS
$custom: #645593;
$custom-light: #9285b3;
$custom-dark: #000000;
JSON
{
  "hex": "#645593",
  "rgb": {
    "r": 100,
    "g": 85,
    "b": 147
  },
  "hsl": {
    "h": 254.516,
    "s": 26.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.09794,
    "h": 293.6
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#645593
secondary
#ABB390
accent
#C365AC
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645593

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

Preview Lab → · Contrast checker → · Palette generator →

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