#643BA6#643BA6

#643BA6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.164 H 297.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#643BA6
RGBrgb(100, 59, 166)
HSLhsl(263, 48%, 44%)
HSVhsv(263, 64%, 65%)
CMYKcmyk(39.8%, 64.5%, 0%, 34.9%)
CIE-LABlab(35.18, 41.55, -51.33)
CIE-LCHlch(35.18, 66.03, 308.99°)
OKLaboklab(45.92% 0.0748 -0.1462)
OKLCHoklch(45.92% 0.164 297.1)
XYZxyz(13.7007, 8.5902, 37.0052)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA6 #7DA63B
analogous
#3B47A6 #643BA6 #9A3BA6
triadic
#643BA6 #A6643B #3BA664
tetradic
#643BA6 #A63B47 #7DA63B #3BA69A
square
#643BA6 #A63B47 #7DA63B #3BA69A
split-complementary
#643BA6 #A69A3B #47A63B
monochromatic
#2E1B4C #492B79 #643BA6 #835AC4 #A587D4

Accessibility & contrast

On white

7.73
#643BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#643BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BA6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA6#FFFFFF#000000##FFFFFF
##643BA61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#54536B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ba6;
/* rgb */ color: rgb(100, 59, 166);
/* oklch */ color: oklch(45.9% 0.164 297.1);
Tailwind
colors: {
  custom: {
    50: '#9573c1',
    500: '#643ba6',
    950: '#000000',
  },
}
SCSS
$custom: #643ba6;
$custom-light: #9573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba6",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 262.991,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.16425,
    "h": 297.1
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#643BA6
secondary
#A6BF7E
accent
#D751A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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