#643D9E#643D9E

#643D9E is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.151 H 298.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#643D9E
RGBrgb(100, 61, 158)
HSLhsl(264, 44%, 43%)
HSVhsv(264, 61%, 62%)
CMYKcmyk(36.7%, 61.4%, 0%, 38%)
CIE-LABlab(35.03, 38.26, -46.75)
CIE-LCHlch(35.03, 60.41, 309.30°)
OKLaboklab(45.63% 0.0729 -0.1328)
OKLCHoklch(45.63% 0.152 298.8)
XYZxyz(13.0943, 8.5153, 33.2949)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D9E #779E3D
analogous
#3D469E #643D9E #943D9E
triadic
#643D9E #9E643D #3D9E64
tetradic
#643D9E #9E3D46 #779E3D #3D9E94
square
#643D9E #9E3D46 #779E3D #3D9E94
split-complementary
#643D9E #9E943D #469E3D
monochromatic
#2C1B46 #482C72 #643D9E #8259BF #A385D0

Accessibility & contrast

On white

7.77
#643D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D9E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D9E#FFFFFF#000000##FFFFFF
##643D9E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#18519C
Tritanopia (blue-blind)
#575267
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643d9e;
/* rgb */ color: rgb(100, 61, 158);
/* oklch */ color: oklch(45.6% 0.151 298.8);
Tailwind
colors: {
  custom: {
    50: '#9474bb',
    500: '#643d9e',
    950: '#000000',
  },
}
SCSS
$custom: #643d9e;
$custom-light: #9474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#643d9e",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 264.124,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.1515,
    "h": 298.8
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#643D9E
secondary
#A1BA7D
accent
#D454A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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