#645284#645284

#645284 is a mid, moderate violet. Relative luminance 0.104; OKLCH L 47.8% C 0.081 H 299.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#645284
RGBrgb(100, 82, 132)
HSLhsl(262, 23%, 42%)
HSVhsv(262, 38%, 52%)
CMYKcmyk(24.2%, 37.9%, 0%, 48.2%)
CIE-LABlab(38.57, 18.63, -25.34)
CIE-LCHlch(38.57, 31.45, 306.33°)
OKLaboklab(47.78% 0.0405 -0.0703)
OKLCHoklch(47.78% 0.081 299.9)
XYZxyz(12.4368, 10.4098, 23.1794)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645284 #728452
analogous
#525984 #645284 #7D5284
triadic
#645284 #846452 #528464
tetradic
#645284 #845259 #728452 #52847D
square
#645284 #845259 #728452 #52847D
split-complementary
#645284 #847D52 #598452
monochromatic
#2B2339 #473B5E #645284 #826EA5 #A394BC

Accessibility & contrast

On white

6.81
#645284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#645284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645284
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645284#FFFFFF#000000##FFFFFF
##6452841.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B86
Deuteranopia (green-blind)
#495A83
Tritanopia (blue-blind)
#5E5A65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #645284;
/* rgb */ color: rgb(100, 82, 132);
/* oklch */ color: oklch(47.8% 0.081 299.9);
Tailwind
colors: {
  custom: {
    50: '#9182a8',
    500: '#645284',
    950: '#000000',
  },
}
SCSS
$custom: #645284;
$custom-light: #9182a8;
$custom-dark: #000000;
JSON
{
  "hex": "#645284",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 261.6,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.08116,
    "h": 299.9
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#645284
secondary
#9EAA88
accent
#C068A0
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #645284

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

Preview Lab → · Contrast checker → · Palette generator →

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