#645484#645484

#645484 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.2% C 0.078 H 298.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#645484
RGBrgb(100, 84, 132)
HSLhsl(260, 22%, 42%)
HSVhsv(260, 36%, 52%)
CMYKcmyk(24.2%, 36.4%, 0%, 48.2%)
CIE-LABlab(39.10, 17.39, -24.51)
CIE-LCHlch(39.10, 30.05, 305.35°)
OKLaboklab(48.18% 0.0374 -0.068)
OKLCHoklch(48.18% 0.078 298.8)
XYZxyz(12.5898, 10.7158, 23.2304)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645484 #748454
analogous
#545C84 #645484 #7C5484
triadic
#645484 #846454 #548464
tetradic
#645484 #84545C #748454 #54847C
square
#645484 #84545C #748454 #54847C
split-complementary
#645484 #847C54 #5C8454
monochromatic
#2B2439 #483C5F #645484 #8271A4 #A396BC

Accessibility & contrast

On white

6.68
#645484 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#645484 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645484
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645484#FFFFFF#000000##FFFFFF
##6454841.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#5E5C66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645484;
/* rgb */ color: rgb(100, 84, 132);
/* oklch */ color: oklch(48.2% 0.078 298.8);
Tailwind
colors: {
  custom: {
    50: '#9184a8',
    500: '#645484',
    950: '#000000',
  },
}
SCSS
$custom: #645484;
$custom-light: #9184a8;
$custom-dark: #000000;
JSON
{
  "hex": "#645484",
  "rgb": {
    "r": 100,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 260,
    "s": 22.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.07757,
    "h": 298.8
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#645484
secondary
#9FAA8A
accent
#BF69A2
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0D0B0F
muted
#7D7C7F

Preview Lab

Preview with #645484

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

Preview Lab → · Contrast checker → · Palette generator →

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