#643BA2#643BA2

#643BA2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.159 H 298.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#643BA2
RGBrgb(100, 59, 162)
HSLhsl(264, 47%, 43%)
HSVhsv(264, 64%, 64%)
CMYKcmyk(38.3%, 63.6%, 0%, 36.5%)
CIE-LABlab(34.89, 40.47, -49.39)
CIE-LCHlch(34.89, 63.85, 309.33°)
OKLaboklab(45.62% 0.0751 -0.1405)
OKLCHoklch(45.62% 0.159 298.1)
XYZxyz(13.3394, 8.4457, 35.1028)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA2 #79A23B
analogous
#3B46A2 #643BA2 #973BA2
triadic
#643BA2 #A2643B #3BA264
tetradic
#643BA2 #A23B46 #79A23B #3BA297
square
#643BA2 #A23B46 #79A23B #3BA297
split-complementary
#643BA2 #A2973B #46A23B
monochromatic
#2D1A48 #482B75 #643BA2 #8258C2 #A485D3

Accessibility & contrast

On white

7.81
#643BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#643BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BA2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA2#FFFFFF#000000##FFFFFF
##643BA21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0751A0
Tritanopia (blue-blind)
#565269
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643ba2;
/* rgb */ color: rgb(100, 59, 162);
/* oklch */ color: oklch(45.6% 0.159 298.1);
Tailwind
colors: {
  custom: {
    50: '#9573be',
    500: '#643ba2',
    950: '#000000',
  },
}
SCSS
$custom: #643ba2;
$custom-light: #9573be;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba2",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 263.883,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45617,
    "c": 0.15936,
    "h": 298.1
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #643BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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