#643D99#643D99

#643D99 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.145 H 300.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#643D99
RGBrgb(100, 61, 153)
HSLhsl(265, 43%, 42%)
HSVhsv(265, 60%, 60%)
CMYKcmyk(34.6%, 60.1%, 0%, 40%)
CIE-LABlab(34.69, 36.92, -44.27)
CIE-LCHlch(34.69, 57.65, 309.83°)
OKLaboklab(45.27% 0.0731 -0.1255)
OKLCHoklch(45.27% 0.145 300.2)
XYZxyz(12.6727, 8.3466, 31.0742)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D99 #72993D
analogous
#3D4499 #643D99 #923D99
triadic
#643D99 #99643D #3D9964
tetradic
#643D99 #993D44 #72993D #3D9992
square
#643D99 #993D44 #72993D #3D9992
split-complementary
#643D99 #99923D #44993D
monochromatic
#2B1A41 #472C6D #643D99 #8257BC #A383CE

Accessibility & contrast

On white

7.87
#643D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#643D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D99
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D99#FFFFFF#000000##FFFFFF
##643D991.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#595065
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643d99;
/* rgb */ color: rgb(100, 61, 153);
/* oklch */ color: oklch(45.3% 0.145 300.2);
Tailwind
colors: {
  custom: {
    50: '#9474b8',
    500: '#643d99',
    950: '#000000',
  },
}
SCSS
$custom: #643d99;
$custom-light: #9474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643d99",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 265.435,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.14523,
    "h": 300.2
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#643D99
secondary
#9EB87A
accent
#D3559D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643D99

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

Preview Lab → · Contrast checker → · Palette generator →

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