#643DAB#643DAB

#643DAB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.168 H 295.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#643DAB
RGBrgb(100, 61, 171)
HSLhsl(261, 47%, 45%)
HSVhsv(261, 64%, 67%)
CMYKcmyk(41.5%, 64.3%, 0%, 32.9%)
CIE-LABlab(35.96, 41.80, -53.06)
CIE-LCHlch(35.96, 67.55, 308.23°)
OKLaboklab(46.6% 0.0721 -0.1513)
OKLCHoklch(46.6% 0.168 295.5)
XYZxyz(14.2730, 8.9868, 39.5028)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DAB #84AB3D
analogous
#3D4DAB #643DAB #9B3DAB
triadic
#643DAB #AB643D #3DAB64
tetradic
#643DAB #AB3D4D #84AB3D #3DAB9B
square
#643DAB #AB3D4D #84AB3D #3DAB9B
split-complementary
#643DAB #AB9B3D #4DAB3D
monochromatic
#2F1D51 #4A2D7E #643DAB #845FC6 #A68CD6

Accessibility & contrast

On white

7.51
#643DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#643DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DAB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DAB#FFFFFF#000000##FFFFFF
##643DAB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#52566E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #643dab;
/* rgb */ color: rgb(100, 61, 171);
/* oklch */ color: oklch(46.6% 0.168 295.5);
Tailwind
colors: {
  custom: {
    50: '#9675c5',
    500: '#643dab',
    950: '#000000',
  },
}
SCSS
$custom: #643dab;
$custom-light: #9675c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643dab",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 261.273,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.16762,
    "h": 295.5
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#643DAB
secondary
#ABC183
accent
#D751A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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