#643BA5#643BA5

#643BA5 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.163 H 297.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#643BA5
RGBrgb(100, 59, 165)
HSLhsl(263, 47%, 44%)
HSVhsv(263, 64%, 65%)
CMYKcmyk(39.4%, 64.2%, 0%, 35.3%)
CIE-LABlab(35.11, 41.28, -50.84)
CIE-LCHlch(35.11, 65.49, 309.07°)
OKLaboklab(45.84% 0.0749 -0.1448)
OKLCHoklch(45.84% 0.163 297.3)
XYZxyz(13.6093, 8.5536, 36.5240)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA5 #7CA53B
analogous
#3B47A5 #643BA5 #993BA5
triadic
#643BA5 #A5643B #3BA564
tetradic
#643BA5 #A53B47 #7CA53B #3BA599
square
#643BA5 #A53B47 #7CA53B #3BA599
split-complementary
#643BA5 #A5993B #47A53B
monochromatic
#2D1B4B #492B78 #643BA5 #8359C4 #A486D4

Accessibility & contrast

On white

7.75
#643BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BA5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA5#FFFFFF#000000##FFFFFF
##643BA51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#54536A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ba5;
/* rgb */ color: rgb(100, 59, 165);
/* oklch */ color: oklch(45.8% 0.163 297.3);
Tailwind
colors: {
  custom: {
    50: '#9573c0',
    500: '#643ba5',
    950: '#000000',
  },
}
SCSS
$custom: #643ba5;
$custom-light: #9573c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba5",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 263.208,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.16303,
    "h": 297.3
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#643BA5
secondary
#A5BE7E
accent
#D751A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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