#646172#646172

#646172 is a mid, muted violet. Relative luminance 0.125; OKLCH L 50.1% C 0.027 H 293.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#646172
RGBrgb(100, 97, 114)
HSLhsl(251, 8%, 41%)
HSVhsv(251, 15%, 45%)
CMYKcmyk(12.3%, 14.9%, 0%, 55.3%)
CIE-LABlab(41.96, 4.90, -9.14)
CIE-LCHlch(41.96, 10.37, 298.17°)
OKLaboklab(50.15% 0.0107 -0.0247)
OKLCHoklch(50.15% 0.027 293.5)
XYZxyz(12.5669, 12.4736, 17.6619)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646172 #6F7261
analogous
#616772 #646172 #6D6172
triadic
#646172 #726461 #617264
tetradic
#646172 #726167 #6F7261 #61726D
square
#646172 #726167 #6F7261 #61726D
split-complementary
#646172 #726D61 #677261
monochromatic
#2A2930 #474551 #646172 #827F92 #A2A0AE

Accessibility & contrast

On white

6.01
#646172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#646172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646172
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646172#FFFFFF#000000##FFFFFF
##6461721.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6373
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#616467
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #646172;
/* rgb */ color: rgb(100, 97, 114);
/* oklch */ color: oklch(50.1% 0.027 293.5);
Tailwind
colors: {
  custom: {
    50: '#908d9a',
    500: '#646172',
    950: '#000000',
  },
}
SCSS
$custom: #646172;
$custom-light: #908d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#646172",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 114
  },
  "hsl": {
    "h": 250.588,
    "s": 8.057,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.02694,
    "h": 293.5
  },
  "luminance": 0.12474
}

Semantic roles & 50–950 ramp

primary
#646172
secondary
#9B9D92
accent
#B177A7
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E

Preview Lab

Preview with #646172

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

Preview Lab → · Contrast checker → · Palette generator →

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