#642071#642071

#642071 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.143 H 320.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#642071
RGBrgb(100, 32, 113)
HSLhsl(290, 56%, 28%)
HSVhsv(290, 72%, 44%)
CMYKcmyk(11.5%, 71.7%, 0%, 55.7%)
CIE-LABlab(26.55, 42.39, -32.42)
CIE-LCHlch(26.55, 53.36, 322.59°)
OKLaboklab(38.52% 0.1111 -0.0906)
OKLCHoklch(38.52% 0.143 320.8)
XYZxyz(8.7523, 4.9351, 16.1111)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642071 #2D7120
analogous
#3B2071 #642071 #712055
triadic
#642071 #716420 #207164
tetradic
#642071 #713B20 #2D7120 #205571
square
#642071 #713B20 #2D7120 #205571
split-complementary
#642071 #557120 #20713B
monochromatic
#150718 #3A1241 #642071 #8E2EA1 #B442C9

Accessibility & contrast

On white

10.57
#642071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#642071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642071
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642071#FFFFFF#000000##FFFFFF
##6420711.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#652E46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642071;
/* rgb */ color: rgb(100, 32, 113);
/* oklch */ color: oklch(38.5% 0.143 320.8);
Tailwind
colors: {
  custom: {
    50: '#93629a',
    500: '#642071',
    950: '#000000',
  },
}
SCSS
$custom: #642071;
$custom-light: #93629a;
$custom-dark: #000000;
JSON
{
  "hex": "#642071",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 290.37,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38524,
    "c": 0.14336,
    "h": 320.8
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#642071
secondary
#57A548
accent
#DF4961
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #642071

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

Preview Lab → · Contrast checker → · Palette generator →

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