#643F95#643F95

#643F95 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.3% C 0.137 H 300.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#643F95
RGBrgb(100, 63, 149)
HSLhsl(266, 41%, 42%)
HSVhsv(266, 58%, 58%)
CMYKcmyk(32.9%, 57.7%, 0%, 41.6%)
CIE-LABlab(34.87, 34.70, -41.56)
CIE-LCHlch(34.87, 54.14, 309.86°)
OKLaboklab(45.32% 0.0704 -0.1175)
OKLCHoklch(45.32% 0.137 300.9)
XYZxyz(12.4566, 8.4342, 29.3996)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F95 #70953F
analogous
#3F4595 #643F95 #8F3F95
triadic
#643F95 #95643F #3F9564
tetradic
#643F95 #953F45 #70953F #3F958F
square
#643F95 #953F45 #70953F #3F958F
split-complementary
#643F95 #958F3F #45953F
monochromatic
#2A1B3F #472D6A #643F95 #8259B9 #A284CB

Accessibility & contrast

On white

7.82
#643F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#643F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F95
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F95#FFFFFF#000000##FFFFFF
##643F951.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#5A5064
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643f95;
/* rgb */ color: rgb(100, 63, 149);
/* oklch */ color: oklch(45.3% 0.137 300.9);
Tailwind
colors: {
  custom: {
    50: '#9375b5',
    500: '#643f95',
    950: '#000000',
  },
}
SCSS
$custom: #643f95;
$custom-light: #9375b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643f95",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 265.814,
    "s": 40.566,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.13704,
    "h": 300.9
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#643F95
secondary
#9CB57B
accent
#D0579C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F95

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

Preview Lab → · Contrast checker → · Palette generator →

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