#643E9D#643E9D

#643E9D is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.7% C 0.149 H 298.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#643E9D
RGBrgb(100, 62, 157)
HSLhsl(264, 43%, 43%)
HSVhsv(264, 61%, 62%)
CMYKcmyk(36.3%, 60.5%, 0%, 38.4%)
CIE-LABlab(35.18, 37.42, -45.91)
CIE-LCHlch(35.18, 59.23, 309.18°)
OKLaboklab(45.71% 0.0717 -0.1303)
OKLCHoklch(45.71% 0.149 298.8)
XYZxyz(13.0625, 8.5888, 32.8614)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E9D #779D3E
analogous
#3E479D #643E9D #933E9D
triadic
#643E9D #9D643E #3E9D64
tetradic
#643E9D #9D3E47 #779D3E #3E9D93
square
#643E9D #9D3E47 #779D3E #3E9D93
split-complementary
#643E9D #9D933E #479D3E
monochromatic
#2C1B45 #482D71 #643E9D #825ABE #A386CF

Accessibility & contrast

On white

7.73
#643E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#643E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E9D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E9D#FFFFFF#000000##FFFFFF
##643E9D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A0
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#575267
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643e9d;
/* rgb */ color: rgb(100, 62, 157);
/* oklch */ color: oklch(45.7% 0.149 298.8);
Tailwind
colors: {
  custom: {
    50: '#9475ba',
    500: '#643e9d',
    950: '#000000',
  },
}
SCSS
$custom: #643e9d;
$custom-light: #9475ba;
$custom-dark: #000000;
JSON
{
  "hex": "#643e9d",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 264,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.14875,
    "h": 298.8
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#643E9D
secondary
#A1BA7D
accent
#D355A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #643E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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