#642F73#642F73

#642F73 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 318.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#642F73
RGBrgb(100, 47, 115)
HSLhsl(287, 42%, 32%)
HSVhsv(287, 59%, 45%)
CMYKcmyk(13%, 59.1%, 0%, 54.9%)
CIE-LABlab(29.36, 35.41, -29.22)
CIE-LCHlch(29.36, 45.91, 320.47°)
OKLaboklab(40.6% 0.0914 -0.0814)
OKLCHoklch(40.6% 0.122 318.3)
XYZxyz(9.3661, 5.9805, 16.8773)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F73 #3E732F
analogous
#422F73 #642F73 #732F60
triadic
#642F73 #73642F #2F7364
tetradic
#642F73 #73422F #3E732F #2F6073
square
#642F73 #73422F #3E732F #2F6073
split-complementary
#642F73 #60732F #2F7342
monochromatic
#180B1C #3E1D48 #642F73 #8A419E #A95FBE

Accessibility & contrast

On white

9.56
#642F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#642F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F73
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F73#FFFFFF#000000##FFFFFF
##642F731.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#324771
Tritanopia (blue-blind)
#643A4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642f73;
/* rgb */ color: rgb(100, 47, 115);
/* oklch */ color: oklch(40.6% 0.122 318.3);
Tailwind
colors: {
  custom: {
    50: '#926a9b',
    500: '#642f73',
    950: '#000000',
  },
}
SCSS
$custom: #642f73;
$custom-light: #926a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#642f73",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 286.765,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.12239,
    "h": 318.3
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#642F73
secondary
#6AA45A
accent
#D25671
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #642F73

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

Preview Lab → · Contrast checker → · Palette generator →

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