#645793#645793

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

Color values

HEX#645793
RGBrgb(100, 87, 147)
HSLhsl(253, 26%, 46%)
HSVhsv(253, 41%, 58%)
CMYKcmyk(32%, 40.8%, 0%, 42.4%)
CIE-LABlab(40.63, 19.54, -31.21)
CIE-LCHlch(40.63, 36.82, 302.04°)
OKLaboklab(49.59% 0.0363 -0.0873)
OKLCHoklch(49.59% 0.095 292.6)
XYZxyz(13.9289, 11.6320, 29.1095)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645793 #869357
analogous
#576893 #645793 #825793
triadic
#645793 #936457 #579364
tetradic
#645793 #935768 #869357 #579382
square
#645793 #935768 #869357 #579382
split-complementary
#645793 #938257 #689357
monochromatic
#302946 #4A406D #645793 #8478AF #A79FC6

Accessibility & contrast

On white

6.31
#645793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#645793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645793
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645793#FFFFFF#000000##FFFFFF
##6457931.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456195
Deuteranopia (green-blind)
#475F91
Tritanopia (blue-blind)
#59626E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #645793;
/* rgb */ color: rgb(100, 87, 147);
/* oklch */ color: oklch(49.6% 0.095 292.6);
Tailwind
colors: {
  custom: {
    50: '#9286b3',
    500: '#645793',
    950: '#000000',
  },
}
SCSS
$custom: #645793;
$custom-light: #9286b3;
$custom-dark: #000000;
JSON
{
  "hex": "#645793",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 253,
    "s": 25.641,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.09459,
    "h": 292.6
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #645793

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

Preview Lab → · Contrast checker → · Palette generator →

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