#642372#642372

#642372 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 320.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#642372
RGBrgb(100, 35, 114)
HSLhsl(289, 53%, 29%)
HSVhsv(289, 69%, 45%)
CMYKcmyk(12.3%, 69.3%, 0%, 55.3%)
CIE-LABlab(27.09, 41.25, -32.20)
CIE-LCHlch(27.09, 52.33, 322.03°)
OKLaboklab(38.94% 0.1075 -0.09)
OKLCHoklch(38.94% 0.14 320.1)
XYZxyz(8.8935, 5.1267, 16.4374)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642372 #317223
analogous
#3D2372 #642372 #722359
triadic
#642372 #726423 #237264
tetradic
#642372 #723D23 #317223 #235972
square
#642372 #723D23 #317223 #235972
split-complementary
#642372 #597223 #23723D
monochromatic
#150717 #3B1543 #642372 #8D31A1 #B148C7

Accessibility & contrast

On white

10.37
#642372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#642372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642372
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642372#FFFFFF#000000##FFFFFF
##6423721.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#643147
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642372;
/* rgb */ color: rgb(100, 35, 114);
/* oklch */ color: oklch(38.9% 0.140 320.1);
Tailwind
colors: {
  custom: {
    50: '#93639b',
    500: '#642372',
    950: '#000000',
  },
}
SCSS
$custom: #642372;
$custom-light: #93639b;
$custom-dark: #000000;
JSON
{
  "hex": "#642372",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 289.367,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.14016,
    "h": 320.1
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#642372
secondary
#5CA54C
accent
#DC4B65
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642372

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

Preview Lab → · Contrast checker → · Palette generator →

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