#645876#645876

#645876 is a mid, muted violet. Relative luminance 0.110; OKLCH L 48.3% C 0.049 H 302.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#645876
RGBrgb(100, 88, 118)
HSLhsl(264, 15%, 40%)
HSVhsv(264, 25%, 46%)
CMYKcmyk(15.3%, 25.4%, 0%, 53.7%)
CIE-LABlab(39.58, 11.39, -15.20)
CIE-LCHlch(39.58, 19.00, 306.83°)
OKLaboklab(48.35% 0.0268 -0.0415)
OKLCHoklch(48.35% 0.049 302.9)
XYZxyz(12.0146, 10.9968, 18.6257)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645876 #6A7658
analogous
#585B76 #645876 #735876
triadic
#645876 #766458 #587664
tetradic
#645876 #76585B #6A7658 #587673
square
#645876 #76585B #6A7658 #587673
split-complementary
#645876 #767358 #5B7658
monochromatic
#292430 #463E53 #645876 #827497 #A297B1

Accessibility & contrast

On white

6.56
#645876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#645876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645876
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645876#FFFFFF#000000##FFFFFF
##6458761.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D77
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#615C62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645876;
/* rgb */ color: rgb(100, 88, 118);
/* oklch */ color: oklch(48.3% 0.049 302.9);
Tailwind
colors: {
  custom: {
    50: '#90879d',
    500: '#645876',
    950: '#000000',
  },
}
SCSS
$custom: #645876;
$custom-light: #90879d;
$custom-dark: #000000;
JSON
{
  "hex": "#645876",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 118
  },
  "hsl": {
    "h": 264,
    "s": 14.563,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48348,
    "c": 0.04943,
    "h": 302.9
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#645876
secondary
#97A08A
accent
#B7709B
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645876

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

Preview Lab → · Contrast checker → · Palette generator →

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