#642F66#642F66

#642F66 is a dark, moderate purple. Relative luminance 0.057; OKLCH L 39.8% C 0.108 H 326.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#642F66
RGBrgb(100, 47, 102)
HSLhsl(298, 37%, 29%)
HSVhsv(298, 54%, 40%)
CMYKcmyk(2%, 53.9%, 0%, 60%)
CIE-LABlab(28.65, 32.63, -22.03)
CIE-LCHlch(28.65, 39.37, 325.97°)
OKLaboklab(39.85% 0.0899 -0.0606)
OKLCHoklch(39.85% 0.108 326)
XYZxyz(8.6701, 5.7021, 13.2117)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F66 #31662F
analogous
#492F66 #642F66 #662F4D
triadic
#642F66 #66642F #2F6664
tetradic
#642F66 #66492F #31662F #2F4D66
square
#642F66 #66492F #31662F #2F4D66
split-complementary
#642F66 #4D662F #2F6649
monochromatic
#150A15 #3B1C3C #642F66 #8D4290 #B15CB4

Accessibility & contrast

On white

9.81
#642F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#642F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F66
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F66#FFFFFF#000000##FFFFFF
##642F661.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#394664
Tritanopia (blue-blind)
#663546
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #642f66;
/* rgb */ color: rgb(100, 47, 102);
/* oklch */ color: oklch(39.8% 0.108 326.0);
Tailwind
colors: {
  custom: {
    50: '#926a92',
    500: '#642f66',
    950: '#000000',
  },
}
SCSS
$custom: #642f66;
$custom-light: #926a92;
$custom-dark: #000000;
JSON
{
  "hex": "#642f66",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 297.818,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.1084,
    "h": 326
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#642F66
secondary
#5C9859
accent
#CD5B5F
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060D
muted
#7E7A7D

Preview Lab

Preview with #642F66

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

Preview Lab → · Contrast checker → · Palette generator →

#642F66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva