#643F9D#643F9D

#643F9D is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.9% C 0.147 H 298.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#643F9D
RGBrgb(100, 63, 157)
HSLhsl(264, 43%, 43%)
HSVhsv(264, 60%, 62%)
CMYKcmyk(36.3%, 59.9%, 0%, 38.4%)
CIE-LABlab(35.40, 36.85, -45.56)
CIE-LCHlch(35.40, 58.60, 308.96°)
OKLaboklab(45.87% 0.0704 -0.1293)
OKLCHoklch(45.87% 0.147 298.6)
XYZxyz(13.1173, 8.6985, 32.8796)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F9D #789D3F
analogous
#3F499D #643F9D #933F9D
triadic
#643F9D #9D643F #3F9D64
tetradic
#643F9D #9D3F49 #789D3F #3F9D93
square
#643F9D #9D3F49 #789D3F #3F9D93
split-complementary
#643F9D #9D933F #499D3F
monochromatic
#2C1C46 #482D71 #643F9D #825CBD #A487CF

Accessibility & contrast

On white

7.66
#643F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#643F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F9D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F9D#FFFFFF#000000##FFFFFF
##643F9D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0953A0
Deuteranopia (green-blind)
#1E529B
Tritanopia (blue-blind)
#575368
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643f9d;
/* rgb */ color: rgb(100, 63, 157);
/* oklch */ color: oklch(45.9% 0.147 298.6);
Tailwind
colors: {
  custom: {
    50: '#9476ba',
    500: '#643f9d',
    950: '#000000',
  },
}
SCSS
$custom: #643f9d;
$custom-light: #9476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#643f9d",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 263.617,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.14725,
    "h": 298.6
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#643F9D
secondary
#A2BA7E
accent
#D355A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #643F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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