#645166#645166

#645166 is a mid, muted purple. Relative luminance 0.096; OKLCH L 46.2% C 0.041 H 323.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#645166
RGBrgb(100, 81, 102)
HSLhsl(294, 11%, 36%)
HSVhsv(294, 21%, 40%)
CMYKcmyk(2%, 20.6%, 0%, 60%)
CIE-LABlab(37.03, 12.07, -9.16)
CIE-LCHlch(37.03, 15.15, 322.79°)
OKLaboklab(46.18% 0.0328 -0.0246)
OKLCHoklch(46.18% 0.041 323.1)
XYZxyz(10.5959, 9.5537, 13.8537)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645166 #536651
analogous
#595166 #645166 #66515D
triadic
#645166 #666451 #516664
tetradic
#645166 #665951 #536651 #515D66
square
#645166 #665951 #536651 #515D66
split-complementary
#645166 #5D6651 #516659
monochromatic
#211B22 #433644 #645166 #856C88 #A28DA4

Accessibility & contrast

On white

7.22
#645166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#645166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645166
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645166#FFFFFF#000000##FFFFFF
##6451661.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5667
Deuteranopia (green-blind)
#535865
Tritanopia (blue-blind)
#655358
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #645166;
/* rgb */ color: rgb(100, 81, 102);
/* oklch */ color: oklch(46.2% 0.041 323.1);
Tailwind
colors: {
  custom: {
    50: '#908291',
    500: '#645166',
    950: '#000000',
  },
}
SCSS
$custom: #645166;
$custom-light: #908291;
$custom-dark: #000000;
JSON
{
  "hex": "#645166",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 294.286,
    "s": 11.475,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.04104,
    "h": 323.1
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#645166
secondary
#829380
accent
#B4737A
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0C0A0C
muted
#7D7C7D

Preview Lab

Preview with #645166

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

Preview Lab → · Contrast checker → · Palette generator →

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