#645676#645676

#645676 is a mid, muted violet. Relative luminance 0.107; OKLCH L 47.9% C 0.053 H 304.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#645676
RGBrgb(100, 86, 118)
HSLhsl(266, 16%, 40%)
HSVhsv(266, 27%, 46%)
CMYKcmyk(15.3%, 27.1%, 0%, 53.7%)
CIE-LABlab(39.02, 12.63, -16.05)
CIE-LCHlch(39.02, 20.42, 308.20°)
OKLaboklab(47.92% 0.0301 -0.0439)
OKLCHoklch(47.92% 0.053 304.4)
XYZxyz(11.8527, 10.6729, 18.5717)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645676 #687656
analogous
#565876 #645676 #745676
triadic
#645676 #766456 #567664
tetradic
#645676 #765658 #687656 #567674
square
#645676 #765658 #687656 #567674
split-complementary
#645676 #767456 #587656
monochromatic
#28222F #463C53 #645676 #827198 #A195B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##645676#FFFFFF#000000##FFFFFF
##6456761.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)
#505B77
Deuteranopia (green-blind)
#535C75
Tritanopia (blue-blind)
#615A61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #645676;
/* rgb */ color: rgb(100, 86, 118);
/* oklch */ color: oklch(47.9% 0.053 304.4);
Tailwind
colors: {
  custom: {
    50: '#90859d',
    500: '#645676',
    950: '#000000',
  },
}
SCSS
$custom: #645676;
$custom-light: #90859d;
$custom-dark: #000000;
JSON
{
  "hex": "#645676",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 118
  },
  "hsl": {
    "h": 266.25,
    "s": 15.686,
    "l": 40
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.0532,
    "h": 304.4
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#645676
secondary
#95A088
accent
#B86F98
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #645676

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

Preview Lab → · Contrast checker → · Palette generator →

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