#643378#643378

#643378 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.5% C 0.121 H 315.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#643378
RGBrgb(100, 51, 120)
HSLhsl(283, 40%, 34%)
HSVhsv(283, 58%, 47%)
CMYKcmyk(16.7%, 57.5%, 0%, 52.9%)
CIE-LABlab(30.48, 34.34, -30.61)
CIE-LCHlch(30.48, 46.01, 318.29°)
OKLaboklab(41.52% 0.086 -0.0855)
OKLCHoklch(41.52% 0.121 315.2)
XYZxyz(9.8290, 6.4333, 18.4897)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643378 #477833
analogous
#413378 #643378 #783369
triadic
#643378 #786433 #337864
tetradic
#643378 #784133 #477833 #336978
square
#643378 #784133 #477833 #336978
split-complementary
#643378 #697833 #337841
monochromatic
#1C0E22 #40214D #643378 #8845A3 #A567BE

Accessibility & contrast

On white

9.18
#643378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#643378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643378
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643378#FFFFFF#000000##FFFFFF
##6433781.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#633E50
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #643378;
/* rgb */ color: rgb(100, 51, 120);
/* oklch */ color: oklch(41.5% 0.121 315.2);
Tailwind
colors: {
  custom: {
    50: '#926d9f',
    500: '#643378',
    950: '#000000',
  },
}
SCSS
$custom: #643378;
$custom-light: #926d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#643378",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 282.609,
    "s": 40.351,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.12124,
    "h": 315.2
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#643378
secondary
#75A660
accent
#D0587B
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643378

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

Preview Lab → · Contrast checker → · Palette generator →

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