#645397#645397

#645397 is a mid, moderate violet. Relative luminance 0.111; OKLCH L 49.0% C 0.107 H 293.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#645397
RGBrgb(100, 83, 151)
HSLhsl(255, 29%, 46%)
HSVhsv(255, 45%, 59%)
CMYKcmyk(33.8%, 45%, 0%, 40.8%)
CIE-LABlab(39.80, 23.13, -34.92)
CIE-LCHlch(39.80, 41.89, 303.51°)
OKLaboklab(49.03% 0.0428 -0.0981)
OKLCHoklch(49.03% 0.107 293.6)
XYZxyz(13.9333, 11.1299, 30.6864)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645397 #869753
analogous
#536497 #645397 #865397
triadic
#645397 #976453 #539764
tetradic
#645397 #975364 #869753 #539786
square
#645397 #975364 #869753 #539786
split-complementary
#645397 #978653 #649753
monochromatic
#302848 #4A3D70 #645397 #8474B3 #A79CC9

Accessibility & contrast

On white

6.51
#645397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#645397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645397
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645397#FFFFFF#000000##FFFFFF
##6453971.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#58606E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #645397;
/* rgb */ color: rgb(100, 83, 151);
/* oklch */ color: oklch(49.0% 0.107 293.6);
Tailwind
colors: {
  custom: {
    50: '#9283b6',
    500: '#645397',
    950: '#000000',
  },
}
SCSS
$custom: #645397;
$custom-light: #9283b6;
$custom-dark: #000000;
JSON
{
  "hex": "#645397",
  "rgb": {
    "r": 100,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 255,
    "s": 29.06,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.10707,
    "h": 293.6
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#645397
secondary
#ACB690
accent
#C562AD
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #645397

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

Preview Lab → · Contrast checker → · Palette generator →

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