#643BA0#643BA0

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

Color values

HEX#643BA0
RGBrgb(100, 59, 160)
HSLhsl(264, 46%, 43%)
HSVhsv(264, 63%, 63%)
CMYKcmyk(37.5%, 63.1%, 0%, 37.3%)
CIE-LABlab(34.75, 39.93, -48.41)
CIE-LCHlch(34.75, 62.75, 309.51°)
OKLaboklab(45.47% 0.0753 -0.1377)
OKLCHoklch(45.47% 0.157 298.7)
XYZxyz(13.1631, 8.3752, 34.1740)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA0 #77A03B
analogous
#3B45A0 #643BA0 #963BA0
triadic
#643BA0 #A0643B #3BA064
tetradic
#643BA0 #A03B45 #77A03B #3BA096
square
#643BA0 #A03B45 #77A03B #3BA096
split-complementary
#643BA0 #A0963B #45A03B
monochromatic
#2C1A47 #482B73 #643BA0 #8257C1 #A384D2

Accessibility & contrast

On white

7.85
#643BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643BA0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA0#FFFFFF#000000##FFFFFF
##643BA01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643ba0;
/* rgb */ color: rgb(100, 59, 160);
/* oklch */ color: oklch(45.5% 0.157 298.7);
Tailwind
colors: {
  custom: {
    50: '#9473bd',
    500: '#643ba0',
    950: '#000000',
  },
}
SCSS
$custom: #643ba0;
$custom-light: #9473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba0",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 264.356,
    "s": 46.119,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45469,
    "c": 0.15691,
    "h": 298.7
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#643BA0
secondary
#A1BC7B
accent
#D652A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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