#643F9F#643F9F

#643F9F is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.0% C 0.150 H 298.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#643F9F
RGBrgb(100, 63, 159)
HSLhsl(263, 43%, 44%)
HSVhsv(263, 60%, 62%)
CMYKcmyk(37.1%, 60.4%, 0%, 37.6%)
CIE-LABlab(35.53, 37.39, -46.55)
CIE-LCHlch(35.53, 59.71, 308.77°)
OKLaboklab(46.02% 0.0704 -0.1322)
OKLCHoklch(46.02% 0.15 298)
XYZxyz(13.2895, 8.7674, 33.7863)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F9F #7A9F3F
analogous
#3F4A9F #643F9F #943F9F
triadic
#643F9F #9F643F #3F9F64
tetradic
#643F9F #9F3F4A #7A9F3F #3F9F94
square
#643F9F #9F3F4A #7A9F3F #3F9F94
split-complementary
#643F9F #9F943F #4A9F3F
monochromatic
#2D1C47 #482E73 #643F9F #825DBF #A488D0

Accessibility & contrast

On white

7.63
#643F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#643F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F9F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F9F#FFFFFF#000000##FFFFFF
##643F9F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#1A539D
Tritanopia (blue-blind)
#575369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643f9f;
/* rgb */ color: rgb(100, 63, 159);
/* oklch */ color: oklch(46.0% 0.150 298.0);
Tailwind
colors: {
  custom: {
    50: '#9476bc',
    500: '#643f9f',
    950: '#000000',
  },
}
SCSS
$custom: #643f9f;
$custom-light: #9476bc;
$custom-dark: #000000;
JSON
{
  "hex": "#643f9f",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 263.125,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.14978,
    "h": 298
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#643F9F
secondary
#A4BB7F
accent
#D355A2
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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