#643EB4#643EB4

#643EB4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.177 H 293.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#643EB4
RGBrgb(100, 62, 180)
HSLhsl(259, 49%, 47%)
HSVhsv(259, 66%, 71%)
CMYKcmyk(44.4%, 65.6%, 0%, 29.4%)
CIE-LABlab(36.84, 43.74, -56.98)
CIE-LCHlch(36.84, 71.84, 307.51°)
OKLaboklab(47.44% 0.07 -0.1629)
OKLCHoklch(47.44% 0.177 293.3)
XYZxyz(15.2141, 9.4494, 44.1935)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB4 #8EB43E
analogous
#3E53B4 #643EB4 #9F3EB4
triadic
#643EB4 #B4643E #3EB464
tetradic
#643EB4 #B43E53 #8EB43E #3EB49F
square
#643EB4 #B43E53 #8EB43E #3EB49F
split-complementary
#643EB4 #B49F3E #53B43E
monochromatic
#311F59 #4B2E86 #643EB4 #8665CA #AA93DA

Accessibility & contrast

On white

7.27
#643EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#643EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EB4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB4#FFFFFF#000000##FFFFFF
##643EB41.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#4D5A73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643eb4;
/* rgb */ color: rgb(100, 62, 180);
/* oklch */ color: oklch(47.4% 0.177 293.3);
Tailwind
colors: {
  custom: {
    50: '#9676cb',
    500: '#643eb4',
    950: '#000000',
  },
}
SCSS
$custom: #643eb4;
$custom-light: #9676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb4",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 259.322,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.17729,
    "h": 293.3
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#643EB4
secondary
#B2C589
accent
#D84FAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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