#643F99#643F99

#643F99 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.6% C 0.142 H 299.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#643F99
RGBrgb(100, 63, 153)
HSLhsl(265, 42%, 42%)
HSVhsv(265, 59%, 60%)
CMYKcmyk(34.6%, 58.8%, 0%, 40%)
CIE-LABlab(35.13, 35.77, -43.57)
CIE-LCHlch(35.13, 56.37, 309.38°)
OKLaboklab(45.59% 0.0705 -0.1234)
OKLCHoklch(45.59% 0.142 299.7)
XYZxyz(12.7814, 8.5641, 31.1105)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F99 #74993F
analogous
#3F4799 #643F99 #913F99
triadic
#643F99 #99643F #3F9964
tetradic
#643F99 #993F47 #74993F #3F9991
square
#643F99 #993F47 #74993F #3F9991
split-complementary
#643F99 #99913F #47993F
monochromatic
#2B1B42 #482D6E #643F99 #825ABB #A385CD

Accessibility & contrast

On white

7.74
#643F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F99
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F99#FFFFFF#000000##FFFFFF
##643F991.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#595166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643f99;
/* rgb */ color: rgb(100, 63, 153);
/* oklch */ color: oklch(45.6% 0.142 299.7);
Tailwind
colors: {
  custom: {
    50: '#9476b8',
    500: '#643f99',
    950: '#000000',
  },
}
SCSS
$custom: #643f99;
$custom-light: #9476b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643f99",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 264.667,
    "s": 41.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45593,
    "c": 0.14215,
    "h": 299.7
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#643F99
secondary
#9FB77C
accent
#D1569F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F99

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

Preview Lab → · Contrast checker → · Palette generator →

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