#640F59#640F59

#640F59 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.143 H 334.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#640F59
RGBrgb(100, 15, 89)
HSLhsl(308, 74%, 23%)
HSVhsv(308, 85%, 39%)
CMYKcmyk(0%, 85%, 11%, 60.8%)
CIE-LABlab(22.91, 44.15, -22.54)
CIE-LCHlch(22.91, 49.57, 332.95°)
OKLaboklab(35.44% 0.1285 -0.0618)
OKLCHoklch(35.44% 0.143 334.3)
XYZxyz(7.2296, 3.7729, 9.7967)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#640F59 #0F641A
analogous
#450F64 #640F59 #640F2E
triadic
#640F59 #59640F #0F5964
tetradic
#640F59 #64450F #0F641A #0F2E64
square
#640F59 #64450F #0F641A #0F2E64
split-complementary
#640F59 #2E640F #0F6445
monochromatic
#1B0418 #2F072A #640F59 #991788 #CE1FB8

Accessibility & contrast

On white

11.97
#640F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#640F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #640F59
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##640F59#FFFFFF#000000##FFFFFF
##640F591.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5B
Deuteranopia (green-blind)
#2F3B57
Tritanopia (blue-blind)
#691834
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #640f59;
/* rgb */ color: rgb(100, 15, 89);
/* oklch */ color: oklch(35.4% 0.143 334.3);
Tailwind
colors: {
  custom: {
    50: '#935a88',
    500: '#640f59',
    950: '#000000',
  },
}
SCSS
$custom: #640f59;
$custom-light: #935a88;
$custom-dark: #000000;
JSON
{
  "hex": "#640f59",
  "rgb": {
    "r": 100,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 307.765,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.1426,
    "h": 334.3
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#640F59
secondary
#329D40
accent
#F14F37
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #640F59

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

Preview Lab → · Contrast checker → · Palette generator →

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