#643BB4#643BB4

#643BB4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.181 H 293.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#643BB4
RGBrgb(100, 59, 180)
HSLhsl(260, 51%, 47%)
HSVhsv(260, 67%, 71%)
CMYKcmyk(44.4%, 67.2%, 0%, 29.4%)
CIE-LABlab(36.24, 45.37, -57.96)
CIE-LCHlch(36.24, 73.60, 308.06°)
OKLaboklab(47.01% 0.0732 -0.1657)
OKLCHoklch(47.01% 0.181 293.8)
XYZxyz(15.0555, 9.1321, 44.1406)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BB4 #8BB43B
analogous
#3B4EB4 #643BB4 #A13BB4
triadic
#643BB4 #B4643B #3BB464
tetradic
#643BB4 #B43B4E #8BB43B #3BB4A1
square
#643BB4 #B43B4E #8BB43B #3BB4A1
split-complementary
#643BB4 #B4A13B #4EB43B
monochromatic
#311D58 #4A2C86 #643BB4 #8561CB #A98FDA

Accessibility & contrast

On white

7.43
#643BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#643BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BB4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BB4#FFFFFF#000000##FFFFFF
##643BB41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#4D5872
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643bb4;
/* rgb */ color: rgb(100, 59, 180);
/* oklch */ color: oklch(47.0% 0.181 293.8);
Tailwind
colors: {
  custom: {
    50: '#9774cb',
    500: '#643bb4',
    950: '#000000',
  },
}
SCSS
$custom: #643bb4;
$custom-light: #9774cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643bb4",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 260.331,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.18118,
    "h": 293.8
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#643BB4
secondary
#B0C586
accent
#DA4EAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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