#643BAC#643BAC

#643BAC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.172 H 295.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#643BAC
RGBrgb(100, 59, 172)
HSLhsl(262, 49%, 45%)
HSVhsv(262, 66%, 67%)
CMYKcmyk(41.9%, 65.7%, 0%, 32.5%)
CIE-LABlab(35.63, 43.18, -54.19)
CIE-LCHlch(35.63, 69.29, 308.55°)
OKLaboklab(46.38% 0.0742 -0.1547)
OKLCHoklch(46.38% 0.172 295.6)
XYZxyz(14.2639, 8.8155, 39.9718)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BAC #83AC3B
analogous
#3B4AAC #643BAC #9C3BAC
triadic
#643BAC #AC643B #3BAC64
tetradic
#643BAC #AC3B4A #83AC3B #3BAC9C
square
#643BAC #AC3B4A #83AC3B #3BAC9C
split-complementary
#643BAC #AC9C3B #4AAC3B
monochromatic
#2F1C51 #4A2B7E #643BAC #835DC7 #A68AD7

Accessibility & contrast

On white

7.60
#643BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#643BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BAC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BAC#FFFFFF#000000##FFFFFF
##643BAC1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#51556E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643bac;
/* rgb */ color: rgb(100, 59, 172);
/* oklch */ color: oklch(46.4% 0.172 295.6);
Tailwind
colors: {
  custom: {
    50: '#9673c5',
    500: '#643bac',
    950: '#000000',
  },
}
SCSS
$custom: #643bac;
$custom-light: #9673c5;
$custom-dark: #000000;
JSON
{
  "hex": "#643bac",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 261.77,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.17155,
    "h": 295.6
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#643BAC
secondary
#AAC181
accent
#D84FA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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