#643BA4#643BA4

#643BA4 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.162 H 297.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#643BA4
RGBrgb(100, 59, 164)
HSLhsl(263, 47%, 44%)
HSVhsv(263, 64%, 64%)
CMYKcmyk(39%, 64%, 0%, 35.7%)
CIE-LABlab(35.04, 41.01, -50.36)
CIE-LCHlch(35.04, 64.94, 309.15°)
OKLaboklab(45.77% 0.075 -0.1434)
OKLCHoklch(45.77% 0.162 297.6)
XYZxyz(13.5186, 8.5174, 36.0465)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA4 #7BA43B
analogous
#3B46A4 #643BA4 #983BA4
triadic
#643BA4 #A4643B #3BA464
tetradic
#643BA4 #A43B46 #7BA43B #3BA498
square
#643BA4 #A43B46 #7BA43B #3BA498
split-complementary
#643BA4 #A4983B #46A43B
monochromatic
#2D1B4A #492B77 #643BA4 #8259C3 #A486D3

Accessibility & contrast

On white

7.77
#643BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BA4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA4#FFFFFF#000000##FFFFFF
##643BA41.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#55536A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643ba4;
/* rgb */ color: rgb(100, 59, 164);
/* oklch */ color: oklch(45.8% 0.162 297.6);
Tailwind
colors: {
  custom: {
    50: '#9573c0',
    500: '#643ba4',
    950: '#000000',
  },
}
SCSS
$custom: #643ba4;
$custom-light: #9573c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba4",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 263.429,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.16181,
    "h": 297.6
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#643BA4
secondary
#A4BE7D
accent
#D751A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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