#643EB3#643EB3

#643EB3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.176 H 293.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#643EB3
RGBrgb(100, 62, 179)
HSLhsl(259, 49%, 47%)
HSVhsv(259, 65%, 70%)
CMYKcmyk(44.1%, 65.4%, 0%, 29.8%)
CIE-LABlab(36.76, 43.46, -56.52)
CIE-LCHlch(36.76, 71.30, 307.56°)
OKLaboklab(47.36% 0.0701 -0.1615)
OKLCHoklch(47.36% 0.176 293.5)
XYZxyz(15.1126, 9.4088, 43.6589)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB3 #8DB33E
analogous
#3E53B3 #643EB3 #9F3EB3
triadic
#643EB3 #B3643E #3EB364
tetradic
#643EB3 #B33E53 #8DB33E #3EB39F
square
#643EB3 #B33E53 #8DB33E #3EB39F
split-complementary
#643EB3 #B39F3E #53B33E
monochromatic
#311F58 #4B2E86 #643EB3 #8565CA #A992D9

Accessibility & contrast

On white

7.29
#643EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#643EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EB3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB3#FFFFFF#000000##FFFFFF
##643EB31.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#4E5A73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643eb3;
/* rgb */ color: rgb(100, 62, 179);
/* oklch */ color: oklch(47.4% 0.176 293.5);
Tailwind
colors: {
  custom: {
    50: '#9676cb',
    500: '#643eb3',
    950: '#000000',
  },
}
SCSS
$custom: #643eb3;
$custom-light: #9676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb3",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 259.487,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.17608,
    "h": 293.5
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#643EB3
secondary
#B1C588
accent
#D850AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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