#642371#642371

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

Color values

HEX#642371
RGBrgb(100, 35, 113)
HSLhsl(290, 53%, 29%)
HSVhsv(290, 69%, 44%)
CMYKcmyk(11.5%, 69%, 0%, 55.7%)
CIE-LABlab(27.03, 41.04, -31.66)
CIE-LCHlch(27.03, 51.83, 322.35°)
OKLaboklab(38.87% 0.1075 -0.0884)
OKLCHoklch(38.87% 0.139 320.6)
XYZxyz(8.8368, 5.1041, 16.1393)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642371 #307123
analogous
#3D2371 #642371 #712357
triadic
#642371 #716423 #237164
tetradic
#642371 #713D23 #307123 #235771
square
#642371 #713D23 #307123 #235771
split-complementary
#642371 #577123 #23713D
monochromatic
#150717 #3B1542 #642371 #8D31A0 #B148C6

Accessibility & contrast

On white

10.39
#642371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#642371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642371
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642371#FFFFFF#000000##FFFFFF
##6423711.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#653047
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642371;
/* rgb */ color: rgb(100, 35, 113);
/* oklch */ color: oklch(38.9% 0.139 320.6);
Tailwind
colors: {
  custom: {
    50: '#93639a',
    500: '#642371',
    950: '#000000',
  },
}
SCSS
$custom: #642371;
$custom-light: #93639a;
$custom-dark: #000000;
JSON
{
  "hex": "#642371",
  "rgb": {
    "r": 100,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 290,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3887,
    "c": 0.13918,
    "h": 320.6
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#642371
secondary
#5AA44C
accent
#DC4C64
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642371

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

Preview Lab → · Contrast checker → · Palette generator →

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