#642173#642173

#642173 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.144 H 319.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#642173
RGBrgb(100, 33, 115)
HSLhsl(289, 55%, 29%)
HSVhsv(289, 71%, 45%)
CMYKcmyk(13%, 71.3%, 0%, 54.9%)
CIE-LABlab(26.84, 42.36, -33.25)
CIE-LCHlch(26.84, 53.85, 321.87°)
OKLaboklab(38.77% 0.1098 -0.093)
OKLCHoklch(38.77% 0.144 319.7)
XYZxyz(8.8935, 5.0353, 16.7198)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642173 #307321
analogous
#3B2173 #642173 #732159
triadic
#642173 #736421 #217364
tetradic
#642173 #733B21 #307321 #215973
square
#642173 #733B21 #307321 #215973
split-complementary
#642173 #597321 #21733B
monochromatic
#150718 #3B1343 #642173 #8D2FA3 #B145CA

Accessibility & contrast

On white

10.46
#642173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#642173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642173
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642173#FFFFFF#000000##FFFFFF
##6421731.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B75
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#643047
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642173;
/* rgb */ color: rgb(100, 33, 115);
/* oklch */ color: oklch(38.8% 0.144 319.7);
Tailwind
colors: {
  custom: {
    50: '#93639c',
    500: '#642173',
    950: '#000000',
  },
}
SCSS
$custom: #642173;
$custom-light: #93639c;
$custom-dark: #000000;
JSON
{
  "hex": "#642173",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 289.024,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.14394,
    "h": 319.7
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#642173
secondary
#5AA649
accent
#DF4964
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #642173

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

Preview Lab → · Contrast checker → · Palette generator →

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