#645697#645697

#645697 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 49.6% C 0.102 H 292.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#645697
RGBrgb(100, 86, 151)
HSLhsl(253, 27%, 46%)
HSVhsv(253, 43%, 59%)
CMYKcmyk(33.8%, 43%, 0%, 40.8%)
CIE-LABlab(40.57, 21.27, -33.70)
CIE-LCHlch(40.57, 39.85, 302.25°)
OKLaboklab(49.61% 0.0385 -0.0946)
OKLCHoklch(49.61% 0.102 292.2)
XYZxyz(14.1678, 11.5990, 30.7645)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645697 #899756
analogous
#566997 #645697 #855697
triadic
#645697 #976456 #569764
tetradic
#645697 #975669 #899756 #569785
square
#645697 #975669 #899756 #569785
split-complementary
#645697 #978556 #699756
monochromatic
#302A49 #4A4070 #645697 #8578B2 #A89FC8

Accessibility & contrast

On white

6.33
#645697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#645697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645697
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645697#FFFFFF#000000##FFFFFF
##6456971.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#58626F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645697;
/* rgb */ color: rgb(100, 86, 151);
/* oklch */ color: oklch(49.6% 0.102 292.2);
Tailwind
colors: {
  custom: {
    50: '#9285b6',
    500: '#645697',
    950: '#000000',
  },
}
SCSS
$custom: #645697;
$custom-light: #9285b6;
$custom-dark: #000000;
JSON
{
  "hex": "#645697",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 252.923,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.10212,
    "h": 292.2
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#645697
secondary
#AEB693
accent
#C464AF
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645697

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

Preview Lab → · Contrast checker → · Palette generator →

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