#645266#645266

#645266 is a mid, muted purple. Relative luminance 0.097; OKLCH L 46.4% C 0.039 H 323.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#645266
RGBrgb(100, 82, 102)
HSLhsl(294, 11%, 36%)
HSVhsv(294, 20%, 40%)
CMYKcmyk(2%, 19.6%, 0%, 60%)
CIE-LABlab(37.30, 11.44, -8.75)
CIE-LCHlch(37.30, 14.41, 322.61°)
OKLaboklab(46.39% 0.0311 -0.0235)
OKLCHoklch(46.39% 0.039 323)
XYZxyz(10.6708, 9.7034, 13.8786)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645266 #546652
analogous
#5A5266 #645266 #66525E
triadic
#645266 #666452 #526664
tetradic
#645266 #665A52 #546652 #525E66
square
#645266 #665A52 #546652 #525E66
split-complementary
#645266 #5E6652 #52665A
monochromatic
#211B22 #433744 #645266 #856D88 #A28EA4

Accessibility & contrast

On white

7.14
#645266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#645266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645266
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645266#FFFFFF#000000##FFFFFF
##6452661.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505667
Deuteranopia (green-blind)
#545865
Tritanopia (blue-blind)
#655459
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #645266;
/* rgb */ color: rgb(100, 82, 102);
/* oklch */ color: oklch(46.4% 0.039 323.0);
Tailwind
colors: {
  custom: {
    50: '#908291',
    500: '#645266',
    950: '#000000',
  },
}
SCSS
$custom: #645266;
$custom-light: #908291;
$custom-dark: #000000;
JSON
{
  "hex": "#645266",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 102
  },
  "hsl": {
    "h": 294,
    "s": 10.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46394,
    "c": 0.03899,
    "h": 323
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#645266
secondary
#839381
accent
#B4747A
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0C0A0C
muted
#7D7C7D

Preview Lab

Preview with #645266

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

Preview Lab → · Contrast checker → · Palette generator →

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