#645071#645071

#645071 is a mid, muted violet. Relative luminance 0.096; OKLCH L 46.4% C 0.058 H 311.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#645071
RGBrgb(100, 80, 113)
HSLhsl(276, 17%, 38%)
HSVhsv(276, 29%, 44%)
CMYKcmyk(11.5%, 29.2%, 0%, 55.7%)
CIE-LABlab(37.19, 15.18, -15.77)
CIE-LCHlch(37.19, 21.89, 313.90°)
OKLaboklab(46.44% 0.0383 -0.0431)
OKLCHoklch(46.44% 0.058 311.7)
XYZxyz(11.1043, 9.6390, 16.8951)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#645071 #5D7150
analogous
#545071 #645071 #71506D
triadic
#645071 #716450 #507164
tetradic
#645071 #715450 #5D7150 #506D71
square
#645071 #715450 #5D7150 #506D71
split-complementary
#645071 #6D7150 #507154
monochromatic
#251D29 #44374D #645071 #846995 #A18DAE

Accessibility & contrast

On white

7.17
#645071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#645071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #645071
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##645071#FFFFFF#000000##FFFFFF
##6450711.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5672
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#63545C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #645071;
/* rgb */ color: rgb(100, 80, 113);
/* oklch */ color: oklch(46.4% 0.058 311.7);
Tailwind
colors: {
  custom: {
    50: '#90819a',
    500: '#645071',
    950: '#000000',
  },
}
SCSS
$custom: #645071;
$custom-light: #90819a;
$custom-dark: #000000;
JSON
{
  "hex": "#645071",
  "rgb": {
    "r": 100,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 276.364,
    "s": 17.098,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.05766,
    "h": 311.7
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#645071
secondary
#8C9C81
accent
#BA6E8C
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #645071

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

Preview Lab → · Contrast checker → · Palette generator →

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