#643F87#643F87

#643F87 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.4% C 0.119 H 305.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#643F87
RGBrgb(100, 63, 135)
HSLhsl(271, 36%, 39%)
HSVhsv(271, 53%, 53%)
CMYKcmyk(25.9%, 53.3%, 0%, 47.1%)
CIE-LABlab(34.01, 31.05, -34.36)
CIE-LCHlch(34.01, 46.31, 312.11°)
OKLaboklab(44.41% 0.0697 -0.0965)
OKLCHoklch(44.41% 0.119 305.9)
XYZxyz(11.4053, 8.0137, 23.8629)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F87 #62873F
analogous
#403F87 #643F87 #873F86
triadic
#643F87 #87643F #3F8764
tetradic
#643F87 #87403F #62873F #3F8687
square
#643F87 #87403F #62873F #3F8687
split-complementary
#643F87 #86873F #3F8740
monochromatic
#261834 #452C5D #643F87 #8354AF #A17EC3

Accessibility & contrast

On white

8.07
#643F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#643F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F87
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F87#FFFFFF#000000##FFFFFF
##643F871.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#5E4C5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643f87;
/* rgb */ color: rgb(100, 63, 135);
/* oklch */ color: oklch(44.4% 0.119 305.9);
Tailwind
colors: {
  custom: {
    50: '#9275aa',
    500: '#643f87',
    950: '#000000',
  },
}
SCSS
$custom: #643f87;
$custom-light: #9275aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643f87",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 270.833,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44407,
    "c": 0.11901,
    "h": 305.9
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#643F87
secondary
#90AD75
accent
#CC5B92
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643F87

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

Preview Lab → · Contrast checker → · Palette generator →

#643F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva