#643BA1#643BA1

#643BA1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.158 H 298.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#643BA1
RGBrgb(100, 59, 161)
HSLhsl(264, 46%, 43%)
HSVhsv(264, 63%, 63%)
CMYKcmyk(37.9%, 63.4%, 0%, 36.9%)
CIE-LABlab(34.82, 40.20, -48.90)
CIE-LCHlch(34.82, 63.30, 309.42°)
OKLaboklab(45.54% 0.0752 -0.1391)
OKLCHoklch(45.54% 0.158 298.4)
XYZxyz(13.2509, 8.4103, 34.6365)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA1 #78A13B
analogous
#3B45A1 #643BA1 #973BA1
triadic
#643BA1 #A1643B #3BA164
tetradic
#643BA1 #A13B45 #78A13B #3BA197
square
#643BA1 #A13B45 #78A13B #3BA197
split-complementary
#643BA1 #A1973B #45A13B
monochromatic
#2C1A47 #482B74 #643BA1 #8258C2 #A484D2

Accessibility & contrast

On white

7.83
#643BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#643BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BA1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA1#FFFFFF#000000##FFFFFF
##643BA11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#0B519F
Tritanopia (blue-blind)
#565168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643ba1;
/* rgb */ color: rgb(100, 59, 161);
/* oklch */ color: oklch(45.5% 0.158 298.4);
Tailwind
colors: {
  custom: {
    50: '#9573bd',
    500: '#643ba1',
    950: '#000000',
  },
}
SCSS
$custom: #643ba1;
$custom-light: #9573bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba1",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 264.118,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.15813,
    "h": 298.4
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#643BA1
secondary
#A2BC7C
accent
#D652A1
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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