#640E56#640E56

#640E56 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.141 H 336.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#640E56
RGBrgb(100, 14, 86)
HSLhsl(310, 75%, 22%)
HSVhsv(310, 86%, 39%)
CMYKcmyk(0%, 86%, 14%, 60.8%)
CIE-LABlab(22.64, 43.95, -20.96)
CIE-LCHlch(22.64, 48.69, 334.51°)
OKLaboklab(35.19% 0.1292 -0.0572)
OKLCHoklch(35.19% 0.141 336.1)
XYZxyz(7.0924, 3.6960, 9.1422)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640E56 #0E641C
analogous
#470E64 #640E56 #640E2B
triadic
#640E56 #56640E #0E5664
tetradic
#640E56 #64470E #0E641C #0E2B64
square
#640E56 #64470E #0E641C #0E2B64
split-complementary
#640E56 #2B640E #0E6447
monochromatic
#1B0417 #2E0628 #640E56 #9A1684 #CF1DB2

Accessibility & contrast

On white

12.08
#640E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#640E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640E56
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640E56#FFFFFF#000000##FFFFFF
##640E561.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2E58
Deuteranopia (green-blind)
#303B54
Tritanopia (blue-blind)
#6A1632
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #640e56;
/* rgb */ color: rgb(100, 14, 86);
/* oklch */ color: oklch(35.2% 0.141 336.1);
Tailwind
colors: {
  custom: {
    50: '#935986',
    500: '#640e56',
    950: '#000000',
  },
}
SCSS
$custom: #640e56;
$custom-light: #935986;
$custom-dark: #000000;
JSON
{
  "hex": "#640e56",
  "rgb": {
    "r": 100,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 309.767,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.14128,
    "h": 336.1
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#640E56
secondary
#319D42
accent
#F25436
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #640E56

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

Preview Lab → · Contrast checker → · Palette generator →

#640E56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva