#642F5E#642F5E

#642F5E is a dark, moderate purple. Relative luminance 0.056; OKLCH L 39.4% C 0.100 H 331.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#642F5E
RGBrgb(100, 47, 94)
HSLhsl(307, 36%, 29%)
HSVhsv(307, 53%, 39%)
CMYKcmyk(0%, 53%, 6%, 60.8%)
CIE-LABlab(28.25, 31.03, -17.48)
CIE-LCHlch(28.25, 35.61, 330.61°)
OKLaboklab(39.42% 0.0884 -0.0476)
OKLCHoklch(39.42% 0.1 331.7)
XYZxyz(8.2924, 5.5510, 11.2222)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F5E #2F6435
analogous
#502F64 #642F5E #642F44
triadic
#642F5E #5E642F #2F5E64
tetradic
#642F5E #64502F #2F6435 #2F4464
square
#642F5E #64502F #2F6435 #2F4464
split-complementary
#642F5E #44642F #2F6450
monochromatic
#150A14 #3A1B37 #642F5E #8E4385 #B25BA8

Accessibility & contrast

On white

9.95
#642F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#642F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F5E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F5E#FFFFFF#000000##FFFFFF
##642F5E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#3C455C
Tritanopia (blue-blind)
#683342
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #642f5e;
/* rgb */ color: rgb(100, 47, 94);
/* oklch */ color: oklch(39.4% 0.100 331.7);
Tailwind
colors: {
  custom: {
    50: '#926a8c',
    500: '#642f5e',
    950: '#000000',
  },
}
SCSS
$custom: #642f5e;
$custom-light: #926a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#642f5e",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 306.792,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.10035,
    "h": 331.7
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#642F5E
secondary
#599660
accent
#CC685C
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060C
muted
#7E7A7D

Preview Lab

Preview with #642F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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