#642971#642971

#642971 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 320.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#642971
RGBrgb(100, 41, 113)
HSLhsl(289, 47%, 30%)
HSVhsv(289, 64%, 44%)
CMYKcmyk(11.5%, 63.7%, 0%, 55.7%)
CIE-LABlab(28.08, 38.13, -29.98)
CIE-LCHlch(28.08, 48.51, 321.82°)
OKLaboklab(39.63% 0.0997 -0.0836)
OKLCHoklch(39.63% 0.13 320)
XYZxyz(9.0287, 5.4879, 16.2033)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642971 #367129
analogous
#402971 #642971 #71295A
triadic
#642971 #716429 #297164
tetradic
#642971 #714029 #367129 #295A71
square
#642971 #714029 #367129 #295A71
split-complementary
#642971 #5A7129 #297140
monochromatic
#150817 #3C1944 #642971 #8C399E #AD54C1

Accessibility & contrast

On white

10.01
#642971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642971
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642971#FFFFFF#000000##FFFFFF
##6429711.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#2F446F
Tritanopia (blue-blind)
#643549
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642971;
/* rgb */ color: rgb(100, 41, 113);
/* oklch */ color: oklch(39.6% 0.130 320.0);
Tailwind
colors: {
  custom: {
    50: '#92679a',
    500: '#642971',
    950: '#000000',
  },
}
SCSS
$custom: #642971;
$custom-light: #92679a;
$custom-dark: #000000;
JSON
{
  "hex": "#642971",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 289.167,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.13009,
    "h": 320
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#642971
secondary
#61A353
accent
#D65169
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642971

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

Preview Lab → · Contrast checker → · Palette generator →

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