#645192#645192

#645192 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.4% C 0.103 H 295.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#645192
RGBrgb(100, 81, 146)
HSLhsl(258, 29%, 45%)
HSVhsv(258, 45%, 57%)
CMYKcmyk(31.5%, 44.5%, 0%, 42.7%)
CIE-LABlab(39.02, 22.99, -33.14)
CIE-LCHlch(39.02, 40.33, 304.75°)
OKLaboklab(48.35% 0.0449 -0.0929)
OKLCHoklch(48.35% 0.103 295.8)
XYZxyz(13.3850, 10.6693, 28.5428)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645192 #7F9251
analogous
#515F92 #645192 #845192
triadic
#645192 #926451 #519264
tetradic
#645192 #92515F #7F9251 #519284
square
#645192 #92515F #7F9251 #519284
split-complementary
#645192 #928451 #5F9251
monochromatic
#2E2543 #493B6B #645192 #8370B0 #A598C6

Accessibility & contrast

On white

6.70
#645192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#645192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645192
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645192#FFFFFF#000000##FFFFFF
##6451921.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5C94
Deuteranopia (green-blind)
#415B90
Tritanopia (blue-blind)
#5A5D6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645192;
/* rgb */ color: rgb(100, 81, 146);
/* oklch */ color: oklch(48.4% 0.103 295.8);
Tailwind
colors: {
  custom: {
    50: '#9282b2',
    500: '#645192',
    950: '#000000',
  },
}
SCSS
$custom: #645192;
$custom-light: #9282b2;
$custom-dark: #000000;
JSON
{
  "hex": "#645192",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 257.538,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.10321,
    "h": 295.8
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#645192
secondary
#A7B38C
accent
#C563A8
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #645192

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

Preview Lab → · Contrast checker → · Palette generator →

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