#642965#642965

#642965 is a dark, moderate purple. Relative luminance 0.052; OKLCH L 38.9% C 0.118 H 326.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#642965
RGBrgb(100, 41, 101)
HSLhsl(299, 42%, 28%)
HSVhsv(299, 59%, 40%)
CMYKcmyk(1%, 59.4%, 0%, 60.4%)
CIE-LABlab(27.39, 35.64, -23.35)
CIE-LCHlch(27.39, 42.61, 326.77°)
OKLaboklab(38.91% 0.0987 -0.0644)
OKLCHoklch(38.91% 0.118 326.9)
XYZxyz(8.3973, 5.2353, 12.8776)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642965 #2A6529
analogous
#462965 #642965 #652948
triadic
#642965 #656429 #296564
tetradic
#642965 #654629 #2A6529 #294865
square
#642965 #654629 #2A6529 #294865
split-complementary
#642965 #486529 #296546
monochromatic
#160916 #391739 #642965 #8F3B91 #B650B8

Accessibility & contrast

On white

10.26
#642965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#642965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642965
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642965#FFFFFF#000000##FFFFFF
##6429651.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C67
Deuteranopia (green-blind)
#354363
Tritanopia (blue-blind)
#673043
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #642965;
/* rgb */ color: rgb(100, 41, 101);
/* oklch */ color: oklch(38.9% 0.118 326.9);
Tailwind
colors: {
  custom: {
    50: '#926691',
    500: '#642965',
    950: '#000000',
  },
}
SCSS
$custom: #642965;
$custom-light: #926691;
$custom-dark: #000000;
JSON
{
  "hex": "#642965",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 299,
    "s": 42.254,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.11786,
    "h": 326.9
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#642965
secondary
#539752
accent
#D25658
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060C
muted
#7E7A7D

Preview Lab

Preview with #642965

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

Preview Lab → · Contrast checker → · Palette generator →

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