#645870#645870

#645870 is a mid, muted violet. Relative luminance 0.109; OKLCH L 48.1% C 0.041 H 307.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#645870
RGBrgb(100, 88, 112)
HSLhsl(270, 12%, 39%)
HSVhsv(270, 21%, 44%)
CMYKcmyk(10.7%, 21.4%, 0%, 56.1%)
CIE-LABlab(39.34, 9.97, -11.87)
CIE-LCHlch(39.34, 15.50, 310.02°)
OKLaboklab(48.09% 0.0247 -0.0322)
OKLCHoklch(48.09% 0.041 307.5)
XYZxyz(11.6694, 10.8587, 16.8073)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645870 #647058
analogous
#585870 #645870 #705870
triadic
#645870 #706458 #587064
tetradic
#645870 #705858 #647058 #587070
square
#645870 #705858 #647058 #587070
split-complementary
#645870 #707058 #587058
monochromatic
#27222B #453D4E #645870 #837492 #A196AC

Accessibility & contrast

On white

6.62
#645870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#645870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #645870
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645870#FFFFFF#000000##FFFFFF
##6458701.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C71
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#635B60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #645870;
/* rgb */ color: rgb(100, 88, 112);
/* oklch */ color: oklch(48.1% 0.041 307.5);
Tailwind
colors: {
  custom: {
    50: '#908799',
    500: '#645870',
    950: '#000000',
  },
}
SCSS
$custom: #645870;
$custom-light: #908799;
$custom-dark: #000000;
JSON
{
  "hex": "#645870",
  "rgb": {
    "r": 100,
    "g": 88,
    "b": 112
  },
  "hsl": {
    "h": 270,
    "s": 12,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.04059,
    "h": 307.5
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#645870
secondary
#929B89
accent
#B57394
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0D
muted
#7D7C7E

Preview Lab

Preview with #645870

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

Preview Lab → · Contrast checker → · Palette generator →

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