#646074#646074

#646074 is a mid, muted violet. Relative luminance 0.123; OKLCH L 50.0% C 0.032 H 294.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#646074
RGBrgb(100, 96, 116)
HSLhsl(252, 9%, 42%)
HSVhsv(252, 17%, 45%)
CMYKcmyk(13.8%, 17.2%, 0%, 54.5%)
CIE-LABlab(41.75, 5.98, -10.69)
CIE-LCHlch(41.75, 12.24, 299.22°)
OKLaboklab(50.01% 0.0131 -0.029)
OKLCHoklch(50.01% 0.032 294.4)
XYZxyz(12.5901, 12.3360, 18.2374)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646074 #707460
analogous
#606674 #646074 #6E6074
triadic
#646074 #746460 #607464
tetradic
#646074 #746066 #707460 #60746E
square
#646074 #746066 #707460 #60746E
split-complementary
#646074 #746E60 #667460
monochromatic
#2A2931 #474453 #646074 #827D94 #A29FAF

Accessibility & contrast

On white

6.06
#646074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#646074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646074
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646074#FFFFFF#000000##FFFFFF
##6460741.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6375
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#616367
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646074;
/* rgb */ color: rgb(100, 96, 116);
/* oklch */ color: oklch(50.0% 0.032 294.4);
Tailwind
colors: {
  custom: {
    50: '#908d9c',
    500: '#646074',
    950: '#000000',
  },
}
SCSS
$custom: #646074;
$custom-light: #908d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#646074",
  "rgb": {
    "r": 100,
    "g": 96,
    "b": 116
  },
  "hsl": {
    "h": 252,
    "s": 9.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.0318,
    "h": 294.4
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#646074
secondary
#9C9F91
accent
#B275A6
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E

Preview Lab

Preview with #646074

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

Preview Lab → · Contrast checker → · Palette generator →

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