#645792#645792

#645792 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 49.5% C 0.093 H 292.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#645792
RGBrgb(100, 87, 146)
HSLhsl(253, 25%, 46%)
HSVhsv(253, 40%, 57%)
CMYKcmyk(31.5%, 40.4%, 0%, 42.7%)
CIE-LABlab(40.57, 19.26, -30.69)
CIE-LCHlch(40.57, 36.23, 302.11°)
OKLaboklab(49.53% 0.0361 -0.0858)
OKLCHoklch(49.53% 0.093 292.8)
XYZxyz(13.8507, 11.6008, 28.6980)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645792 #859257
analogous
#576792 #645792 #815792
triadic
#645792 #926457 #579264
tetradic
#645792 #925767 #859257 #579281
square
#645792 #925767 #859257 #579281
split-complementary
#645792 #928157 #679257
monochromatic
#2F2945 #4A406C #645792 #8478AE #A79EC5

Accessibility & contrast

On white

6.32
#645792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645792
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645792#FFFFFF#000000##FFFFFF
##6457921.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466094
Deuteranopia (green-blind)
#475F91
Tritanopia (blue-blind)
#5A626D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645792;
/* rgb */ color: rgb(100, 87, 146);
/* oklch */ color: oklch(49.5% 0.093 292.8);
Tailwind
colors: {
  custom: {
    50: '#9286b2',
    500: '#645792',
    950: '#000000',
  },
}
SCSS
$custom: #645792;
$custom-light: #9286b2;
$custom-dark: #000000;
JSON
{
  "hex": "#645792",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 253.22,
    "s": 25.322,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.09311,
    "h": 292.8
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#645792
secondary
#ACB392
accent
#C266AE
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #645792

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

Preview Lab → · Contrast checker → · Palette generator →

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