#643F86#643F86

#643F86 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.3% C 0.118 H 306.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#643F86
RGBrgb(100, 63, 134)
HSLhsl(271, 36%, 39%)
HSVhsv(271, 53%, 53%)
CMYKcmyk(25.4%, 53%, 0%, 47.5%)
CIE-LABlab(33.95, 30.80, -33.83)
CIE-LCHlch(33.95, 45.75, 312.31°)
OKLaboklab(44.34% 0.0696 -0.0949)
OKLCHoklch(44.34% 0.118 306.3)
XYZxyz(11.3352, 7.9857, 23.4939)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F86 #61863F
analogous
#403F86 #643F86 #863F84
triadic
#643F86 #86643F #3F8664
tetradic
#643F86 #86403F #61863F #3F8486
square
#643F86 #86403F #61863F #3F8486
split-complementary
#643F86 #84863F #3F8640
monochromatic
#261833 #452B5C #643F86 #8354AE #A17DC2

Accessibility & contrast

On white

8.09
#643F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643F86
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F86#FFFFFF#000000##FFFFFF
##643F861.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F88
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#5F4C5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643f86;
/* rgb */ color: rgb(100, 63, 134);
/* oklch */ color: oklch(44.3% 0.118 306.3);
Tailwind
colors: {
  custom: {
    50: '#9275a9',
    500: '#643f86',
    950: '#000000',
  },
}
SCSS
$custom: #643f86;
$custom-light: #9275a9;
$custom-dark: #000000;
JSON
{
  "hex": "#643f86",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 271.268,
    "s": 36.041,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44344,
    "c": 0.11772,
    "h": 306.3
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#643F86
secondary
#8FAC74
accent
#CC5C92
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643F86

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

Preview Lab → · Contrast checker → · Palette generator →

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