#642865#642865

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

Color values

HEX#642865
RGBrgb(100, 40, 101)
HSLhsl(299, 43%, 28%)
HSVhsv(299, 60%, 40%)
CMYKcmyk(1%, 60.4%, 0%, 60.4%)
CIE-LABlab(27.21, 36.16, -23.65)
CIE-LCHlch(27.21, 43.21, 326.81°)
OKLaboklab(38.77% 0.1002 -0.0652)
OKLCHoklch(38.77% 0.12 326.9)
XYZxyz(8.3631, 5.1670, 12.8662)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642865 #296528
analogous
#452865 #642865 #652848
triadic
#642865 #656428 #286564
tetradic
#642865 #654528 #296528 #284865
square
#642865 #654528 #296528 #284865
split-complementary
#642865 #486528 #286545
monochromatic
#160916 #391739 #642865 #8F3991 #B74EB9

Accessibility & contrast

On white

10.33
#642865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#642865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642865
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642865#FFFFFF#000000##FFFFFF
##6428651.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B67
Deuteranopia (green-blind)
#354363
Tritanopia (blue-blind)
#672F42
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642865;
/* rgb */ color: rgb(100, 40, 101);
/* oklch */ color: oklch(38.8% 0.120 326.9);
Tailwind
colors: {
  custom: {
    50: '#926691',
    500: '#642865',
    950: '#000000',
  },
}
SCSS
$custom: #642865;
$custom-light: #926691;
$custom-dark: #000000;
JSON
{
  "hex": "#642865",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 299.016,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.11954,
    "h": 326.9
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#642865
secondary
#529851
accent
#D35557
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060C
muted
#7E7A7D

Preview Lab

Preview with #642865

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

Preview Lab → · Contrast checker → · Palette generator →

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