#642972#642972

#642972 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.7% C 0.131 H 319.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#642972
RGBrgb(100, 41, 114)
HSLhsl(288, 47%, 30%)
HSVhsv(288, 64%, 45%)
CMYKcmyk(12.3%, 64%, 0%, 55.3%)
CIE-LABlab(28.14, 38.35, -30.52)
CIE-LCHlch(28.14, 49.01, 321.48°)
OKLaboklab(39.69% 0.0997 -0.0852)
OKLCHoklch(39.69% 0.131 319.5)
XYZxyz(9.0853, 5.5105, 16.5014)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642972 #377229
analogous
#3F2972 #642972 #72295B
triadic
#642972 #726429 #297264
tetradic
#642972 #723F29 #377229 #295B72
square
#642972 #723F29 #377229 #295B72
split-complementary
#642972 #5B7229 #29723F
monochromatic
#150918 #3D1945 #642972 #8B399F #AC54C1

Accessibility & contrast

On white

9.99
#642972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#642972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642972
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642972#FFFFFF#000000##FFFFFF
##6429721.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#643549
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642972;
/* rgb */ color: rgb(100, 41, 114);
/* oklch */ color: oklch(39.7% 0.131 319.5);
Tailwind
colors: {
  custom: {
    50: '#92679b',
    500: '#642972',
    950: '#000000',
  },
}
SCSS
$custom: #642972;
$custom-light: #92679b;
$custom-dark: #000000;
JSON
{
  "hex": "#642972",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 288.493,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.13113,
    "h": 319.5
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#642972
secondary
#62A453
accent
#D7516B
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642972

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

Preview Lab → · Contrast checker → · Palette generator →

#642972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva