#640E57#640E57

#640E57 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.142 H 335.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#640E57
RGBrgb(100, 14, 87)
HSLhsl(309, 75%, 22%)
HSVhsv(309, 86%, 39%)
CMYKcmyk(0%, 86%, 13%, 60.8%)
CIE-LABlab(22.70, 44.11, -21.54)
CIE-LCHlch(22.70, 49.09, 333.98°)
OKLaboklab(35.25% 0.1292 -0.0589)
OKLCHoklch(35.25% 0.142 335.5)
XYZxyz(7.1330, 3.7122, 9.3558)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640E57 #0E641B
analogous
#460E64 #640E57 #640E2C
triadic
#640E57 #57640E #0E5764
tetradic
#640E57 #64460E #0E641B #0E2C64
square
#640E57 #64460E #0E641B #0E2C64
split-complementary
#640E57 #2C640E #0E6446
monochromatic
#1B0417 #2E0628 #640E57 #9A1686 #CF1DB4

Accessibility & contrast

On white

12.05
#640E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #640E57
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640E57#FFFFFF#000000##FFFFFF
##640E571.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#2F3B55
Tritanopia (blue-blind)
#691633
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #640e57;
/* rgb */ color: rgb(100, 14, 87);
/* oklch */ color: oklch(35.3% 0.142 335.5);
Tailwind
colors: {
  custom: {
    50: '#935986',
    500: '#640e57',
    950: '#000000',
  },
}
SCSS
$custom: #640e57;
$custom-light: #935986;
$custom-dark: #000000;
JSON
{
  "hex": "#640e57",
  "rgb": {
    "r": 100,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 309.07,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.14201,
    "h": 335.5
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#640E57
secondary
#319D41
accent
#F25236
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #640E57

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

Preview Lab → · Contrast checker → · Palette generator →

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