#643374#643374

#643374 is a dark, moderate purple. Relative luminance 0.063; OKLCH L 41.3% C 0.117 H 317.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#643374
RGBrgb(100, 51, 116)
HSLhsl(285, 39%, 33%)
HSVhsv(285, 56%, 45%)
CMYKcmyk(13.8%, 56%, 0%, 54.5%)
CIE-LABlab(30.25, 33.43, -28.45)
CIE-LCHlch(30.25, 43.90, 319.60°)
OKLaboklab(41.27% 0.0856 -0.0792)
OKLCHoklch(41.27% 0.117 317.2)
XYZxyz(9.5913, 6.3383, 17.2378)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643374 #437433
analogous
#443374 #643374 #743363
triadic
#643374 #746433 #337464
tetradic
#643374 #744433 #437433 #336374
square
#643374 #744433 #437433 #336374
split-complementary
#643374 #637433 #337444
monochromatic
#1B0E1F #3F2049 #643374 #89469F #A666BC

Accessibility & contrast

On white

9.26
#643374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#643374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643374
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643374#FFFFFF#000000##FFFFFF
##6433741.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#643D4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #643374;
/* rgb */ color: rgb(100, 51, 116);
/* oklch */ color: oklch(41.3% 0.117 317.2);
Tailwind
colors: {
  custom: {
    50: '#926d9c',
    500: '#643374',
    950: '#000000',
  },
}
SCSS
$custom: #643374;
$custom-light: #926d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#643374",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 285.231,
    "s": 38.922,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.11663,
    "h": 317.2
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#643374
secondary
#70A45F
accent
#CF5976
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643374

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

Preview Lab → · Contrast checker → · Palette generator →

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