#645293#645293

#645293 is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.6% C 0.103 H 295.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#645293
RGBrgb(100, 82, 147)
HSLhsl(257, 28%, 45%)
HSVhsv(257, 44%, 58%)
CMYKcmyk(32%, 44.2%, 0%, 42.4%)
CIE-LABlab(39.33, 22.64, -33.26)
CIE-LCHlch(39.33, 40.23, 304.25°)
OKLaboklab(48.6% 0.0436 -0.0933)
OKLCHoklch(48.6% 0.103 295)
XYZxyz(13.5380, 10.8503, 28.9792)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645293 #819352
analogous
#526193 #645293 #845293
triadic
#645293 #936452 #529364
tetradic
#645293 #935261 #819352 #529384
square
#645293 #935261 #819352 #529384
split-complementary
#645293 #938452 #619352
monochromatic
#2F2644 #493C6C #645293 #8372B0 #A699C6

Accessibility & contrast

On white

6.62
#645293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#645293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645293
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645293#FFFFFF#000000##FFFFFF
##6452931.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D95
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#5A5E6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645293;
/* rgb */ color: rgb(100, 82, 147);
/* oklch */ color: oklch(48.6% 0.103 295.0);
Tailwind
colors: {
  custom: {
    50: '#9283b3',
    500: '#645293',
    950: '#000000',
  },
}
SCSS
$custom: #645293;
$custom-light: #9283b3;
$custom-dark: #000000;
JSON
{
  "hex": "#645293",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 256.615,
    "s": 28.384,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.10297,
    "h": 295
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#645293
secondary
#A9B38E
accent
#C563AA
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #645293

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

Preview Lab → · Contrast checker → · Palette generator →

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