#645196#645196

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

Color values

HEX#645196
RGBrgb(100, 81, 150)
HSLhsl(257, 30%, 45%)
HSVhsv(257, 46%, 59%)
CMYKcmyk(33.3%, 46%, 0%, 41.2%)
CIE-LABlab(39.23, 24.09, -35.21)
CIE-LCHlch(39.23, 42.66, 304.37°)
OKLaboklab(48.59% 0.0455 -0.099)
OKLCHoklch(48.59% 0.109 294.7)
XYZxyz(13.7016, 10.7960, 30.2102)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645196 #839651
analogous
#516096 #645196 #865196
triadic
#645196 #966451 #519664
tetradic
#645196 #965160 #839651 #519686
square
#645196 #965160 #839651 #519686
split-complementary
#645196 #968651 #609651
monochromatic
#2F2647 #4A3C6E #645196 #8372B3 #A699C8

Accessibility & contrast

On white

6.65
#645196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#645196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645196
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645196#FFFFFF#000000##FFFFFF
##6451961.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#595E6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645196;
/* rgb */ color: rgb(100, 81, 150);
/* oklch */ color: oklch(48.6% 0.109 294.7);
Tailwind
colors: {
  custom: {
    50: '#9282b5',
    500: '#645196',
    950: '#000000',
  },
}
SCSS
$custom: #645196;
$custom-light: #9282b5;
$custom-dark: #000000;
JSON
{
  "hex": "#645196",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 256.522,
    "s": 29.87,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.10895,
    "h": 294.7
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#645196
secondary
#AAB58E
accent
#C662AA
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #645196

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

Preview Lab → · Contrast checker → · Palette generator →

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