#643B9E#643B9E

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

Color values

HEX#643B9E
RGBrgb(100, 59, 158)
HSLhsl(265, 46%, 43%)
HSVhsv(265, 63%, 62%)
CMYKcmyk(36.7%, 62.7%, 0%, 38%)
CIE-LABlab(34.61, 39.39, -47.43)
CIE-LCHlch(34.61, 61.66, 309.71°)
OKLaboklab(45.32% 0.0754 -0.1348)
OKLCHoklch(45.32% 0.154 299.2)
XYZxyz(12.9895, 8.3057, 33.2599)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B9E #759E3B
analogous
#3B449E #643B9E #953B9E
triadic
#643B9E #9E643B #3B9E64
tetradic
#643B9E #9E3B44 #759E3B #3B9E95
square
#643B9E #9E3B44 #759E3B #3B9E95
split-complementary
#643B9E #9E953B #449E3B
monochromatic
#2C1A45 #482A71 #643B9E #8256C0 #A383D1

Accessibility & contrast

On white

7.89
#643B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#643B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B9E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B9E#FFFFFF#000000##FFFFFF
##643B9E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#13519C
Tritanopia (blue-blind)
#575067
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643b9e;
/* rgb */ color: rgb(100, 59, 158);
/* oklch */ color: oklch(45.3% 0.154 299.2);
Tailwind
colors: {
  custom: {
    50: '#9473bb',
    500: '#643b9e',
    950: '#000000',
  },
}
SCSS
$custom: #643b9e;
$custom-light: #9473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#643b9e",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 264.848,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.15444,
    "h": 299.2
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#643B9E
secondary
#A0BB7A
accent
#D5539F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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