#642773#642773

#642773 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.5% C 0.135 H 319.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#642773
RGBrgb(100, 39, 115)
HSLhsl(288, 49%, 30%)
HSVhsv(288, 66%, 45%)
CMYKcmyk(13%, 66.1%, 0%, 54.9%)
CIE-LABlab(27.84, 39.56, -31.64)
CIE-LCHlch(27.84, 50.65, 321.35°)
OKLaboklab(39.5% 0.1024 -0.0884)
OKLCHoklch(39.5% 0.135 319.2)
XYZxyz(9.0752, 5.3986, 16.7803)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642773 #367327
analogous
#3E2773 #642773 #73275C
triadic
#642773 #736427 #277364
tetradic
#642773 #733E27 #367327 #275C73
square
#642773 #733E27 #367327 #275C73
split-complementary
#642773 #5C7327 #27733E
monochromatic
#150818 #3C1845 #642773 #8C36A1 #AD51C4

Accessibility & contrast

On white

10.10
#642773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#642773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642773
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642773#FFFFFF#000000##FFFFFF
##6427731.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#643449
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642773;
/* rgb */ color: rgb(100, 39, 115);
/* oklch */ color: oklch(39.5% 0.135 319.2);
Tailwind
colors: {
  custom: {
    50: '#93669c',
    500: '#642773',
    950: '#000000',
  },
}
SCSS
$custom: #642773;
$custom-light: #93669c;
$custom-dark: #000000;
JSON
{
  "hex": "#642773",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 288.158,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.13527,
    "h": 319.2
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#642773
secondary
#61A550
accent
#D94F6A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642773

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

Preview Lab → · Contrast checker → · Palette generator →

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