#645674#645674

#645674 is a mid, muted violet. Relative luminance 0.106; OKLCH L 47.8% C 0.050 H 305.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#645674
RGBrgb(100, 86, 116)
HSLhsl(268, 15%, 40%)
HSVhsv(268, 26%, 45%)
CMYKcmyk(13.8%, 25.9%, 0%, 54.5%)
CIE-LABlab(38.94, 12.15, -14.94)
CIE-LCHlch(38.94, 19.26, 309.12°)
OKLaboklab(47.83% 0.0294 -0.0408)
OKLCHoklch(47.83% 0.05 305.8)
XYZxyz(11.7351, 10.6259, 17.9524)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645674 #667456
analogous
#565774 #645674 #735674
triadic
#645674 #746456 #567464
tetradic
#645674 #745657 #667456 #567473
square
#645674 #745657 #667456 #567473
split-complementary
#645674 #747356 #577456
monochromatic
#27222E #463C51 #645674 #827196 #A194B0

Accessibility & contrast

On white

6.72
#645674 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #645674
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645674#FFFFFF#000000##FFFFFF
##6456741.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B75
Deuteranopia (green-blind)
#535C73
Tritanopia (blue-blind)
#625A60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645674;
/* rgb */ color: rgb(100, 86, 116);
/* oklch */ color: oklch(47.8% 0.050 305.8);
Tailwind
colors: {
  custom: {
    50: '#90859c',
    500: '#645674',
    950: '#000000',
  },
}
SCSS
$custom: #645674;
$custom-light: #90859c;
$custom-dark: #000000;
JSON
{
  "hex": "#645674",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 116
  },
  "hsl": {
    "h": 268,
    "s": 14.851,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.05027,
    "h": 305.8
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#645674
secondary
#949E88
accent
#B87096
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645674

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

Preview Lab → · Contrast checker → · Palette generator →

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