#643EB5#643EB5

#643EB5 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.179 H 293.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#643EB5
RGBrgb(100, 62, 181)
HSLhsl(259, 49%, 48%)
HSVhsv(259, 66%, 71%)
CMYKcmyk(44.8%, 65.7%, 0%, 29%)
CIE-LABlab(36.91, 44.02, -57.45)
CIE-LCHlch(36.91, 72.38, 307.46°)
OKLaboklab(47.52% 0.0699 -0.1643)
OKLCHoklch(47.52% 0.179 293.1)
XYZxyz(15.3164, 9.4903, 44.7319)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB5 #8FB53E
analogous
#3E53B5 #643EB5 #A03EB5
triadic
#643EB5 #B5643E #3EB564
tetradic
#643EB5 #B53E53 #8FB53E #3EB5A0
square
#643EB5 #B53E53 #8FB53E #3EB5A0
split-complementary
#643EB5 #B5A03E #53B53E
monochromatic
#321F5A #4B2E87 #643EB5 #8666CA #AA93DA

Accessibility & contrast

On white

7.25
#643EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#643EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EB5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB5#FFFFFF#000000##FFFFFF
##643EB51.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#4D5A74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643eb5;
/* rgb */ color: rgb(100, 62, 181);
/* oklch */ color: oklch(47.5% 0.179 293.1);
Tailwind
colors: {
  custom: {
    50: '#9776cc',
    500: '#643eb5',
    950: '#000000',
  },
}
SCSS
$custom: #643eb5;
$custom-light: #9776cc;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb5",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 259.16,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47519,
    "c": 0.17851,
    "h": 293.1
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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